summaryrefslogtreecommitdiffstats
path: root/clang/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
commit4deaa4ea248d8e5f18a9f224b5e6866f37a04536 (patch)
treea3761c38834bded809bdec47900c4e2b0fba3ce2 /clang/lib/AST/Expr.cpp
parent01ff98a48a138b6ae3d555f7898af284eed80b4d (diff)
downloadbcm5719-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.cpp2
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,
OpenPOWER on IntegriCloud