diff --git a/clang-tools-extra/include-fixer/find-all-symbols/SymbolInfo.h b/clang-tools-extra/include-fixer/find-all-symbols/SymbolInfo.h index f0fae99406ff..c5ee94045fba 100644 --- a/clang-tools-extra/include-fixer/find-all-symbols/SymbolInfo.h +++ b/clang-tools-extra/include-fixer/find-all-symbols/SymbolInfo.h @@ -47,7 +47,7 @@ public: // The default constructor is required by YAML traits in // LLVM_YAML_IS_DOCUMENT_LIST_VECTOR. - SymbolInfo() : Type(SymbolKind::Unknown), LineNumber(-1) {}; + SymbolInfo() : Type(SymbolKind::Unknown), LineNumber(-1) {} SymbolInfo(llvm::StringRef Name, SymbolKind Type, llvm::StringRef FilePath, int LineNumber, const std::vector &Contexts); diff --git a/clang-tools-extra/include-fixer/tool/CMakeLists.txt b/clang-tools-extra/include-fixer/tool/CMakeLists.txt index e34bf11ccc1a..4ce5d5090eec 100644 --- a/clang-tools-extra/include-fixer/tool/CMakeLists.txt +++ b/clang-tools-extra/include-fixer/tool/CMakeLists.txt @@ -8,4 +8,5 @@ target_link_libraries(clang-include-fixer clangRewrite clangTooling clangToolingCore + findAllSymbols ) diff --git a/clang-tools-extra/unittests/include-fixer/CMakeLists.txt b/clang-tools-extra/unittests/include-fixer/CMakeLists.txt index 0d1124f39842..d285cd67beea 100644 --- a/clang-tools-extra/unittests/include-fixer/CMakeLists.txt +++ b/clang-tools-extra/unittests/include-fixer/CMakeLists.txt @@ -22,6 +22,7 @@ target_link_libraries(IncludeFixerTests clangRewrite clangTooling clangToolingCore + findAllSymbols ) add_subdirectory(find-all-symbols)