From 15ba94987aa1620a75e6766f022228bd48cacfdf Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 14 Jun 2009 01:54:56 +0000 Subject: 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 --- clang/lib/AST/Decl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/AST/Decl.cpp') 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 -- cgit v1.2.3