[clang-tools-extra] [clang-doc] Cleanup CMake files and ensure benchmarks build (PR #185469)

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 9 14:52:10 PDT 2026


================
@@ -5,3 +5,7 @@ add_lit_testsuite(check-clang-extra-clang-doc "Running clang-doc tests"
   DEPENDS clang-doc
   DEPENDS ${LLVM_UTILS_DEPS}
 )
+
+if (LLVM_INCLUDE_BENCHMARKS)
+   add_dependencies(check-clang-extra-clang-doc ClangDocBenchmark)
+endif()
----------------
petrhosek wrote:

Yes, this should work.

https://github.com/llvm/llvm-project/pull/185469


More information about the cfe-commits mailing list