summaryrefslogtreecommitdiffstats
path: root/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Frontend: Change PluginASTAction::ParseArgs to take a CompilerInstance objectDaniel Dunbar2010-08-021-4/+16
| | | | | | | | | | | | 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. llvm-svn: 110039
* Make a variable static.Dan Gohman2010-07-261-1/+1
| | | | llvm-svn: 109438
* Frontend: Allow passing -cc1 level arguments to plugins. Patch by Troy ↵Daniel Dunbar2010-06-161-1/+14
| | | | | | Straszheim! llvm-svn: 106113
* Update docs/comments/utils/examples to refer to clang -cc1 instead of clang-cc.Daniel Dunbar2009-12-111-2/+2
| | | | llvm-svn: 91176
* Add a trivial example plugin, which prints the names of the top-level decls.Daniel Dunbar2009-11-151-0/+44
- The build scriptage is about twice as long as the code, which is nice. :) llvm-svn: 88826
OpenPOWER on IntegriCloud