summaryrefslogtreecommitdiffstats
path: root/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix getCustomDiagID() usage in example codeAlp Toker2013-12-211-3/+3
| | | | | | | This was setting a bad example. DiagIDs are a limited resource and the message argument is evaluated as a format string. llvm-svn: 197855
* Sort the #include lines for examples/...Chandler Carruth2012-12-041-1/+1
| | | | llvm-svn: 169241
* Reverted unintentional commit.Manuel Klimek2012-04-261-2/+1
| | | | llvm-svn: 155629
* Adds a small tutorial on how to write RAV based ASTFrontendActions.Manuel Klimek2012-04-261-1/+2
| | | | llvm-svn: 155627
* Update signature of HandleTopLevelDecl.Douglas Gregor2011-11-191-1/+3
| | | | llvm-svn: 145001
* Fix examples for r140478. PR11021.Eli Friedman2011-09-271-2/+2
| | | | llvm-svn: 140618
* 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