Skip to content

Commit f130351

Browse files
committed
[lldb] Add a blurb about not including private headers
Add a blurb about not including private headers and be explicit about TestingSupport as it's a bit of a footgun.
1 parent 47820b1 commit f130351

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/unittests/API/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ add_lldb_unittest(APITests
88
)
99

1010
# Build with -Wdocumentation. This relies on the tests including all the API
11-
# headers through API/LLDB.h.
11+
# headers through API/LLDB.h. It also means that the API tests cannot include
12+
# private headers, including anything from from TestingSupport.
1213
check_cxx_compiler_flag("-Wdocumentation"
1314
CXX_SUPPORTS_DOCUMENTATION)
1415
if (CXX_SUPPORTS_DOCUMENTATION)

0 commit comments

Comments
 (0)