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/Frontend/ChainedIncludesSource.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/Frontend/ChainedIncludesSource.cpp')
-rw-r--r-- | clang/lib/Frontend/ChainedIncludesSource.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/ChainedIncludesSource.cpp b/clang/lib/Frontend/ChainedIncludesSource.cpp index 29fee7246d1..dec281529b9 100644 --- a/clang/lib/Frontend/ChainedIncludesSource.cpp +++ b/clang/lib/Frontend/ChainedIncludesSource.cpp @@ -11,6 +11,7 @@ // //===----------------------------------------------------------------------===// +#include "clang/Basic/Builtins.h" #include "clang/Basic/TargetInfo.h" #include "clang/Frontend/ASTUnit.h" #include "clang/Frontend/CompilerInstance.h" |