diff options
Diffstat (limited to 'examples/PrintFunctionNames')
-rw-r--r-- | examples/PrintFunctionNames/PrintFunctionNames.cpp | 4 | ||||
-rw-r--r-- | examples/PrintFunctionNames/README.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/PrintFunctionNames/PrintFunctionNames.cpp b/examples/PrintFunctionNames/PrintFunctionNames.cpp index a103c63704..5b7b66a4f7 100644 --- a/examples/PrintFunctionNames/PrintFunctionNames.cpp +++ b/examples/PrintFunctionNames/PrintFunctionNames.cpp @@ -7,8 +7,8 @@ // //===----------------------------------------------------------------------===// // -// Example clang-cc plugin which simply prints the names of all the top-level -// decls in the input file. +// Example clang plugin which simply prints the names of all the top-level decls +// in the input file. // //===----------------------------------------------------------------------===// diff --git a/examples/PrintFunctionNames/README.txt b/examples/PrintFunctionNames/README.txt index 2859eeff55..ee6f7e865e 100644 --- a/examples/PrintFunctionNames/README.txt +++ b/examples/PrintFunctionNames/README.txt @@ -1,4 +1,4 @@ -This is a simple example demonstrating how to use clang-cc's facility for +This is a simple example demonstrating how to use clang's facility for providing AST consumers using a plugin. You will probably need to build clang so that it exports all symbols (disable @@ -6,5 +6,5 @@ TOOL_NO_EXPORT in the tools/clang Makefile). Once the plugin is built, you can run it using: -- -$ clang-cc -load path/to/PrintFunctionNames.so -plugin=print-fns some-input-file.c +$ clang -cc1 -load path/to/PrintFunctionNames.so -plugin=print-fns some-input-file.c -- |