summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2019-12-14 03:01:28 -0500
committerJohn McCall <rjmccall@apple.com>2019-12-14 03:28:23 -0500
commitc2f18315ff53006e44afe065368019e41cb98053 (patch)
tree865413702b7ac1f03cb886f6780462ed1b141a06 /clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
parent816985c12053e0f0654e28e1a517799954ea5360 (diff)
downloadbcm5719-llvm-c2f18315ff53006e44afe065368019e41cb98053.tar.gz
bcm5719-llvm-c2f18315ff53006e44afe065368019e41cb98053.zip
Move ASTRecordReader into its own header; NFC.
AbstractBasicReader.h has quite a few dependencies already, and that's only likely to increase. Meanwhile, ASTRecordReader is really an implementation detail of the ASTReader that is only used in a small number of places. I've kept it in a public header for the use of projects like Swift that might want to plug in to Clang's serialization framework. I've also moved OMPClauseReader into an implementation file, although it can't be made private because of friendship.
Diffstat (limited to 'clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp b/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
index 687fda75db4..7baae6778eb 100644
--- a/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
+++ b/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
@@ -11,6 +11,7 @@
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/LangStandard.h"
#include "clang/Basic/Stack.h"
+#include "clang/AST/DeclObjC.h"
#include "clang/Frontend/ASTUnit.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/FrontendAction.h"
OpenPOWER on IntegriCloud