]> granicus.if.org Git - clang/commit
Frontend: Change PluginASTAction::ParseArgs to take a CompilerInstance object
authorDaniel Dunbar <daniel@zuster.org>
Mon, 2 Aug 2010 15:31:28 +0000 (15:31 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 2 Aug 2010 15:31:28 +0000 (15:31 +0000)
commitf56a488a6bdfe56ca814f37d384afa67c67f9dd5
tree31319eac06d434a1e21fe4314ea1c1199e649e01
parent9c1845dbed9817520f5a7db8bd80a560c6c6ae6b
Frontend: Change PluginASTAction::ParseArgs to take a CompilerInstance object
for use in reporting diagnostics.
 - We don't want to use the Action's own CompilerInstance, because that is only
   initialized during file processing and I like that invariant.

Also, if ParseArgs returns false then abandon execution.

Also, remove unused PluginASTAction::PrintHelp virtual method.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110039 91177308-0d34-0410-b5e6-96231b3b80d8
examples/PrintFunctionNames/PrintFunctionNames.cpp
include/clang/Frontend/FrontendAction.h
tools/driver/cc1_main.cpp