From 18dbd0cde3712217a9c01fd5a66f77bf053a7a01 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 7 Oct 2025 17:08:50 -0700 Subject: [PATCH] [lldb] Add a blurb about not including private headers Add a blurb about not including private headers. --- lldb/unittests/API/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lldb/unittests/API/CMakeLists.txt b/lldb/unittests/API/CMakeLists.txt index 06ac49244176c..e6b8406aefd8d 100644 --- a/lldb/unittests/API/CMakeLists.txt +++ b/lldb/unittests/API/CMakeLists.txt @@ -8,7 +8,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)