summaryrefslogtreecommitdiffstats
path: root/clang/lib/FrontendTool
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-07-19 17:20:03 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-07-19 17:20:03 +0000
commitd571363e459f84f7cee91c1c6a20ceb3692c9824 (patch)
tree8aa6a5a5674ad1faad60f61f6014b02153b0ac1a /clang/lib/FrontendTool
parent08636b46333e088436476ab44764ba731f697a49 (diff)
downloadbcm5719-llvm-d571363e459f84f7cee91c1c6a20ceb3692c9824.tar.gz
bcm5719-llvm-d571363e459f84f7cee91c1c6a20ceb3692c9824.zip
[arcmt] Add some additional driver flags to optionally emit or save the pre-migration ARC errors.
-arcmt-migrate-emit-errors : Emits the pre-migration ARC errors but it doesn't affect anything else -arcmt-migrate-report-output : Writes out the pre-migration ARC errors to the provided plist file rdar://9791454 llvm-svn: 135491
Diffstat (limited to 'clang/lib/FrontendTool')
-rw-r--r--clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
index f2db3ae7419..1d10b241ab7 100644
--- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
@@ -100,7 +100,10 @@ static FrontendAction *CreateFrontendAction(CompilerInstance &CI) {
Act = new arcmt::ModifyAction(Act);
break;
case FrontendOptions::ARCMT_Migrate:
- Act = new arcmt::MigrateAction(Act, CI.getFrontendOpts().ARCMTMigrateDir);
+ Act = new arcmt::MigrateAction(Act,
+ CI.getFrontendOpts().ARCMTMigrateDir,
+ CI.getFrontendOpts().ARCMTMigrateReportOut,
+ CI.getFrontendOpts().ARCMTMigrateEmitARCErrors);
break;
}
OpenPOWER on IntegriCloud