[Lldb-commits] [lldb] 9527f93 - [lldb] Add a blurb about not including private headers (#162404)

via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 8 12:55:46 PDT 2025


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)


        


More information about the lldb-commits mailing list