Skip to content

Commit becc950

Browse files
committed
[lldb] Add a blurb about not including private headers (llvm#162404)
Add a blurb about not including private headers in the API tests. (cherry picked from commit 9527f93)
1 parent 766873b commit becc950

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
@@ -11,7 +11,8 @@ add_lldb_unittest(APITests
1111
)
1212

1313
# Build with -Wdocumentation. This relies on the tests including all the API
14-
# headers through API/LLDB.h.
14+
# headers through API/LLDB.h. It also means that the API tests cannot include
15+
# private headers.
1516
check_cxx_compiler_flag("-Wdocumentation"
1617
CXX_SUPPORTS_DOCUMENTATION)
1718
if (CXX_SUPPORTS_DOCUMENTATION)

0 commit comments

Comments
 (0)