diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-05-15 16:37:00 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2018-05-15 16:37:00 +0000 |
commit | 6043fd21b6a36de96bfeafba12bcf5f52cad8fee (patch) | |
tree | 7361926b20701da01d698e9537ae329afcf0e282 /clang/tools/clang-fuzzer | |
parent | db39bf40883671ec3bcf5f39e1e6bc5f3d416a1e (diff) | |
download | bcm5719-llvm-6043fd21b6a36de96bfeafba12bcf5f52cad8fee.tar.gz bcm5719-llvm-6043fd21b6a36de96bfeafba12bcf5f52cad8fee.zip |
update two comments as suggested on https://reviews.llvm.org/D46843
llvm-svn: 332370
Diffstat (limited to 'clang/tools/clang-fuzzer')
-rw-r--r-- | clang/tools/clang-fuzzer/CMakeLists.txt | 3 | ||||
-rw-r--r-- | clang/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/clang/tools/clang-fuzzer/CMakeLists.txt b/clang/tools/clang-fuzzer/CMakeLists.txt index b351ec51652..96fe1fabbf7 100644 --- a/clang/tools/clang-fuzzer/CMakeLists.txt +++ b/clang/tools/clang-fuzzer/CMakeLists.txt @@ -9,8 +9,7 @@ elseif(LLVM_USE_SANITIZE_COVERAGE) unset(DUMMY_MAIN) endif() -# Hack to bypass LLVM's cmake sources check and allow multiple libraries and -# executables from this directory. +# Needed by LLVM's CMake checks because this file defines multiple targets. set(LLVM_OPTIONAL_SOURCES ClangFuzzer.cpp DummyClangFuzzer.cpp diff --git a/clang/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt b/clang/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt index 910b793e0e0..9337092fa4f 100644 --- a/clang/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt +++ b/clang/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt @@ -1,8 +1,7 @@ set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD}) set(CMAKE_CXX_FLAGS ${CXX_FLAGS_NOFUZZ}) -# Hack to bypass LLVM's CMake source checks so we can have both a library and -# an executable built from this directory. +# Needed by LLVM's CMake checks because this file defines multiple targets. set(LLVM_OPTIONAL_SOURCES proto_to_cxx.cpp proto_to_cxx_main.cpp) add_clang_library(clangProtoToCXX proto_to_cxx.cpp |