diff options
author | Reid Kleckner <rnk@google.com> | 2019-11-15 16:36:00 -0800 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-11-15 16:45:16 -0800 |
commit | 979da9a4c3ba435b384a11af7bd3154b0309b487 (patch) | |
tree | 02628bb9f7fd4a38821f12bca87e64d921692b99 /clang/lib/Sema/SemaExpr.cpp | |
parent | 4d23764dddc23e74ad165086d7f471a3e0e52bf8 (diff) | |
download | bcm5719-llvm-979da9a4c3ba435b384a11af7bd3154b0309b487.tar.gz bcm5719-llvm-979da9a4c3ba435b384a11af7bd3154b0309b487.zip |
Avoid including Builtins.h in Preprocessor.h
Builtins are rarely if ever accessed via the Preprocessor. They are
typically found on the ASTContext, so there should be no performance
penalty to using a pointer indirection to store the builtin context.
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index e10331d0741..76f500f077e 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -25,6 +25,7 @@ #include "clang/AST/ExprOpenMP.h" #include "clang/AST/RecursiveASTVisitor.h" #include "clang/AST/TypeLoc.h" +#include "clang/Basic/Builtins.h" #include "clang/Basic/FixedPoint.h" #include "clang/Basic/PartialDiagnostic.h" #include "clang/Basic/SourceManager.h" |