diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-14 01:54:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-14 01:54:56 +0000 |
commit | 15ba94987aa1620a75e6766f022228bd48cacfdf (patch) | |
tree | be5f07cfa86ef04eba08774981a9adcb87443ee7 /clang/lib/AST/Decl.cpp | |
parent | 5abdec7978e984a2b9f4fe0067b3af3337ba6d9c (diff) | |
download | bcm5719-llvm-15ba94987aa1620a75e6766f022228bd48cacfdf.tar.gz bcm5719-llvm-15ba94987aa1620a75e6766f022228bd48cacfdf.zip |
Sink the BuiltinInfo object from ASTContext into the
preprocessor and initialize it early in clang-cc. This
ensures that __has_builtin works in all modes, not just
when ASTContext is around.
llvm-svn: 73319
Diffstat (limited to 'clang/lib/AST/Decl.cpp')
-rw-r--r-- | clang/lib/AST/Decl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp index dfec1061c25..a3e406b2452 100644 --- a/clang/lib/AST/Decl.cpp +++ b/clang/lib/AST/Decl.cpp @@ -19,6 +19,7 @@ #include "clang/AST/Stmt.h" #include "clang/AST/Expr.h" #include "clang/AST/PrettyPrinter.h" +#include "clang/Basic/Builtins.h" #include "clang/Basic/IdentifierTable.h" #include <vector> |