aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Expr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-10-06 05:28:25 +0000
committerChris Lattner <sabre@nondot.org>2008-10-06 05:28:25 +0000
commit019f4e858e78587f2241ff1a76c747d7bcd7578c (patch)
tree547758f5452c62ccf094e935363664059273a220 /lib/AST/Expr.cpp
parentcb888967400a03504c88acedd5248d6778a82f46 (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.cpp2
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,