diff options
author | Nico Weber <nicolasweber@gmx.de> | 2011-01-29 21:21:49 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2011-01-29 21:21:49 +0000 |
commit | f25649c74397d2620e6ac61f1045261644707c80 (patch) | |
tree | b333fb4c110a13b54d3922ac5deb87db388e7cd5 /lib/Frontend/FrontendAction.cpp | |
parent | c7e98fabd852e9dfa7409b7fc664b87322522c43 (diff) |
Support for -plugin-arg- with -add-plugin
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/FrontendAction.cpp')
-rw-r--r-- | lib/Frontend/FrontendAction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/FrontendAction.cpp b/lib/Frontend/FrontendAction.cpp index 1a5c042247..5f78fb1772 100644 --- a/lib/Frontend/FrontendAction.cpp +++ b/lib/Frontend/FrontendAction.cpp @@ -112,7 +112,7 @@ ASTConsumer* FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, if (it->getName() == CI.getFrontendOpts().AddPluginActions[i]) { llvm::OwningPtr<PluginASTAction> P(it->instantiate()); FrontendAction* c = P.get(); - if (P->ParseArgs(CI, CI.getFrontendOpts().PluginArgs)) + if (P->ParseArgs(CI, CI.getFrontendOpts().AddPluginArgs[i])) Consumers.push_back(c->CreateASTConsumer(CI, InFile)); } } |