diff options
author | Chris Lattner <sabre@nondot.org> | 2008-10-06 05:28:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-10-06 05:28:25 +0000 |
commit | 4deaa4ea248d8e5f18a9f224b5e6866f37a04536 (patch) | |
tree | a3761c38834bded809bdec47900c4e2b0fba3ce2 /clang/lib/AST/Expr.cpp | |
parent | 01ff98a48a138b6ae3d555f7898af284eed80b4d (diff) | |
download | bcm5719-llvm-4deaa4ea248d8e5f18a9f224b5e6866f37a04536.tar.gz bcm5719-llvm-4deaa4ea248d8e5f18a9f224b5e6866f37a04536.zip |
Add a comment that describes tryEvaluate. Make tryEvaluate fold
__builtin_constant_p properly, and add some scaffolding for
FloatExprEvaluator to eventually handle huge_val and inf.
llvm-svn: 57152
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
-rw-r--r-- | clang/lib/AST/Expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp index 562cf12c4d8..bd1578fe20a 100644 --- a/clang/lib/AST/Expr.cpp +++ b/clang/lib/AST/Expr.cpp @@ -171,7 +171,7 @@ bool CallExpr::isBuiltinClassifyType(llvm::APSInt &Result) const { if (isBuiltinCall() != Builtin::BI__builtin_classify_type) return false; - // The following enum mimics gcc's internal "typeclass.h" file. + // The following enum mimics the values returned by GCC. enum gcc_type_class { no_type_class = -1, void_type_class, integer_type_class, char_type_class, |