aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-09 17:16:28 +0000
committerChris Lattner <sabre@nondot.org>2008-04-09 17:16:28 +0000
commitd6d48c4e5b60aa4acc02c7a8700cb79949503e93 (patch)
tree2b7aab23c4f399855e20611090306f12b96528b7 /include
parent59d28132bcd68f882c526b043380c359ffc465e6 (diff)
downloadexternal_llvm-d6d48c4e5b60aa4acc02c7a8700cb79949503e93.zip
external_llvm-d6d48c4e5b60aa4acc02c7a8700cb79949503e93.tar.gz
external_llvm-d6d48c4e5b60aa4acc02c7a8700cb79949503e93.tar.bz2
ConstantFP::get should be static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49434 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index c2a736e..d6529c7 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -240,7 +240,7 @@ public:
/// get() - This returns a constant fp for the specified value in the
/// specified type. This should only be used for simple constant values like
/// 2.0/1.0 etc, that are known-valid both as double and as the target format.
- ConstantFP *get(const Type *Ty, double V);
+ static ConstantFP *get(const Type *Ty, double V);
/// isValueValidForType - return true if Ty is big enough to represent V.
static bool isValueValidForType(const Type *Ty, const APFloat& V);