diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-04-09 17:16:28 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-04-09 17:16:28 +0000 |
| commit | 0704e3acffc59cc583befffa71da029787296010 (patch) | |
| tree | 53db8fedcf8e1e6a2b1f87228b624184e01b7bf2 | |
| parent | a6063118c6473870996118009a8e854fea8ea195 (diff) | |
| download | bcm5719-llvm-0704e3acffc59cc583befffa71da029787296010.tar.gz bcm5719-llvm-0704e3acffc59cc583befffa71da029787296010.zip | |
ConstantFP::get should be static.
llvm-svn: 49434
| -rw-r--r-- | llvm/include/llvm/Constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Constants.h b/llvm/include/llvm/Constants.h index c2a736eeb87..d6529c7d5ff 100644 --- a/llvm/include/llvm/Constants.h +++ b/llvm/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); |

