Author: Jonas Devlieghere Date: 2025-10-08T12:55:42-07:00 New Revision: 9527f9338f9d116b6eaf5771b961ed0210119326
URL: https://github.com/llvm/llvm-project/commit/9527f9338f9d116b6eaf5771b961ed0210119326 DIFF: https://github.com/llvm/llvm-project/commit/9527f9338f9d116b6eaf5771b961ed0210119326.diff LOG: [lldb] Add a blurb about not including private headers (#162404) Add a blurb about not including private headers in the API tests. Added: Modified: lldb/unittests/API/CMakeLists.txt Removed: ################################################################################ diff --git a/lldb/unittests/API/CMakeLists.txt b/lldb/unittests/API/CMakeLists.txt index ea140a23af605..1e778181435b4 100644 --- a/lldb/unittests/API/CMakeLists.txt +++ b/lldb/unittests/API/CMakeLists.txt @@ -10,7 +10,8 @@ add_lldb_unittest(APITests ) # Build with -Wdocumentation. This relies on the tests including all the API -# headers through API/LLDB.h. +# headers through API/LLDB.h. It also means that the API tests cannot include +# private headers. check_cxx_compiler_flag("-Wdocumentation" CXX_SUPPORTS_DOCUMENTATION) if (CXX_SUPPORTS_DOCUMENTATION) _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
