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 | 019f4e858e78587f2241ff1a76c747d7bcd7578c (patch) | |
tree | 547758f5452c62ccf094e935363664059273a220 /lib/AST/Expr.cpp | |
parent | cb888967400a03504c88acedd5248d6778a82f46 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Expr.cpp')
-rw-r--r-- | lib/AST/Expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index 562cf12c4d..bd1578fe20 100644 --- a/lib/AST/Expr.cpp +++ b/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, |