[clang] d1ef9a6 - [NFC][Docs] Fix RAVFrontendAction doc's CMakeLists.txt for shared build
via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 13 06:18:51 PST 2021
Author: Shivam Gupta
Date: 2021-02-13T19:48:49+05:30
New Revision: d1ef9a63a68850bbe8cd8877f69c41833804c8dc
URL: https://github.com/llvm/llvm-project/commit/d1ef9a63a68850bbe8cd8877f69c41833804c8dc
DIFF: https://github.com/llvm/llvm-project/commit/d1ef9a63a68850bbe8cd8877f69c41833804c8dc.diff
LOG: [NFC][Docs] Fix RAVFrontendAction doc's CMakeLists.txt for shared build
It should fix following error:
Undefined symbols for architecture x86_64:
"llvm::outs()", referenced from:
FindNamedClassVisitor::VisitCXXRecordDecl(clang::CXXRecordDecl*) in FindClassDecls.cpp.o
Added:
Modified:
clang/docs/RAVFrontendAction.rst
Removed:
################################################################################
diff --git a/clang/docs/RAVFrontendAction.rst b/clang/docs/RAVFrontendAction.rst
index 71722a15936a..e38276b43295 100644
--- 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
More information about the cfe-commits
mailing list