summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-12-04 07:27:05 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-12-04 07:27:05 +0000
commitf3d587ea7cade0d3ca857f88382031c6113c58fc (patch)
treec8ba28f26aabde8231220944ddc67daaa0ea5610 /clang/lib/Frontend/CompilerInstance.cpp
parentd1c9031c9135f69d79eca81340f245ac38eaea10 (diff)
downloadbcm5719-llvm-f3d587ea7cade0d3ca857f88382031c6113c58fc.tar.gz
bcm5719-llvm-f3d587ea7cade0d3ca857f88382031c6113c58fc.zip
Refactor recording the preprocessor conditional directive regions out of
PreprocessingRecord and into its own class, PPConditionalDirectiveRecord. Decoupling allows a client to use the functionality of PPConditionalDirectiveRecord without needing a PreprocessingRecord. llvm-svn: 169229
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index d481ebf511c..e5c1512657c 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -260,7 +260,7 @@ void CompilerInstance::createPreprocessor() {
}
if (PPOpts.DetailedRecord)
- PP->createPreprocessingRecord(PPOpts.DetailedRecordConditionalDirectives);
+ PP->createPreprocessingRecord();
InitializePreprocessor(*PP, PPOpts, getHeaderSearchOpts(), getFrontendOpts());
OpenPOWER on IntegriCloud