projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
022920c
)
[NFC][Docs] Fix RAVFrontendAction doc's CMakeLists.txt for shared build
author
Shivam Gupta
<shivam98.tkg@gmail.com>
Sat, 13 Feb 2021 14:18:49 +0000
(19:48 +0530)
committer
GitHub
<noreply@github.com>
Sat, 13 Feb 2021 14:18:49 +0000
(19:48 +0530)
It should fix following error:
Undefined symbols for architecture x86_64:
"llvm::outs()", referenced from:
FindNamedClassVisitor::VisitCXXRecordDecl(clang::CXXRecordDecl*) in FindClassDecls.cpp.o
clang/docs/RAVFrontendAction.rst
patch
|
blob
|
history
diff --git
a/clang/docs/RAVFrontendAction.rst
b/clang/docs/RAVFrontendAction.rst
index
71722a1
..
e38276b
100644
(file)
--- a/
clang/docs/RAVFrontendAction.rst
+++ b/
clang/docs/RAVFrontendAction.rst
@@
-205,6
+205,10
@@
following CMakeLists.txt to link it:
::
+ set(LLVM_LINK_COMPONENTS
+ Support
+ )
+
add_clang_executable(find-class-decls FindClassDecls.cpp)
target_link_libraries(find-class-decls