summaryrefslogtreecommitdiffstats
path: root/clang/examples/PrintFunctionNames
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-11 23:04:35 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-11 23:04:35 +0000
commit520d1e6c6be80b2da632e7be45b4d8d2b25415e4 (patch)
treed0e39102576698da7089dfa190c0de56b1ba7e68 /clang/examples/PrintFunctionNames
parente27e028cdd76065da6f376a75602d02422269c39 (diff)
downloadbcm5719-llvm-520d1e6c6be80b2da632e7be45b4d8d2b25415e4.tar.gz
bcm5719-llvm-520d1e6c6be80b2da632e7be45b4d8d2b25415e4.zip
Update docs/comments/utils/examples to refer to clang -cc1 instead of clang-cc.
llvm-svn: 91176
Diffstat (limited to 'clang/examples/PrintFunctionNames')
-rw-r--r--clang/examples/PrintFunctionNames/PrintFunctionNames.cpp4
-rw-r--r--clang/examples/PrintFunctionNames/README.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp b/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
index a103c63704a..5b7b66a4f7f 100644
--- a/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
+++ b/clang/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/clang/examples/PrintFunctionNames/README.txt b/clang/examples/PrintFunctionNames/README.txt
index 2859eeff557..ee6f7e865e9 100644
--- a/clang/examples/PrintFunctionNames/README.txt
+++ b/clang/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
--
OpenPOWER on IntegriCloud