This patch will eliminate the error messages when running the
`PrintFunctionNames'
plugin with clang.
$ bin/clang -Xclang -load -Xclang lib/PrintFunctionNames.so \
-Xclang -add-plugin -Xclang print-fns some-file.cc
<premain>: CommandLine Error: Argument 'info-output-file' defined more than
once!
<premain>: CommandLine Error: Argument 'track-memory' defined more than
once!
<premain>: CommandLine Error: Argument 'stats' defined more than once!
...
---
examples/PrintFunctionNames/CMakeLists.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/examples/PrintFunctionNames/CMakeLists.txt
b/examples/PrintFunctionNames/CMakeLists.txt
index ba6a350..96a8805 100644
--- a/examples/PrintFunctionNames/CMakeLists.txt
+++ b/examples/PrintFunctionNames/CMakeLists.txt
@@ -14,7 +14,6 @@ add_dependencies(PrintFunctionNames
)
target_link_libraries(PrintFunctionNames
- clangFrontend
clangAST
)
--
Thanks,
Li Qun
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits