diff options
| author | Justin Bogner <mail@justinbogner.com> | 2015-11-26 19:52:24 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2015-11-26 19:52:24 +0000 |
| commit | 98712bd771982f54db51c7c665a32f5589719243 (patch) | |
| tree | 46a23e8a32fcbbeb56fb1ed2006eacc11d2263d0 /clang | |
| parent | 000965633575107a0c3294c65d8a60d59ed93f7d (diff) | |
| download | bcm5719-llvm-98712bd771982f54db51c7c665a32f5589719243.tar.gz bcm5719-llvm-98712bd771982f54db51c7c665a32f5589719243.zip | |
docs: Remove references to the long-defunct LLVM_USED_LIBS
LLVM_USED_LIBS hasn't done anything since 2012, stop telling people to
set it in the docs.
llvm-svn: 254173
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/docs/LibASTMatchersTutorial.rst | 1 | ||||
| -rw-r--r-- | clang/docs/RAVFrontendAction.rst | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/clang/docs/LibASTMatchersTutorial.rst b/clang/docs/LibASTMatchersTutorial.rst index fe36511a0cf..603b2faf01d 100644 --- a/clang/docs/LibASTMatchersTutorial.rst +++ b/clang/docs/LibASTMatchersTutorial.rst @@ -108,7 +108,6 @@ CMakeLists.txt should have the following contents: :: set(LLVM_LINK_COMPONENTS support) - set(LLVM_USED_LIBS clangTooling clangBasic clangAST) add_clang_executable(loop-convert LoopConvert.cpp diff --git a/clang/docs/RAVFrontendAction.rst b/clang/docs/RAVFrontendAction.rst index ec5d5d54ff9..c37d3c0e812 100644 --- a/clang/docs/RAVFrontendAction.rst +++ b/clang/docs/RAVFrontendAction.rst @@ -205,10 +205,10 @@ following CMakeLists.txt to link it: :: - set(LLVM_USED_LIBS clangTooling) - add_clang_executable(find-class-decls FindClassDecls.cpp) + target_link_libraries(find-class-decls clangTooling) + When running this tool over a small code snippet it will output all declarations of a class n::m::C it found: |

