File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class LLDB_API SBSaveCoreOptions {
5454 // / Set the output file path
5555 // /
5656 // / \param
57- // / output_file a \class SBFileSpec object that describes the output file.
57+ // / output_file a \ref SBFileSpec object that describes the output file.
5858 void SetOutputFile (SBFileSpec output_file);
5959
6060 // / Get the output file spec
Original file line number Diff line number Diff line change @@ -5,6 +5,16 @@ add_lldb_unittest(APITests
55 liblldb
66 )
77
8+ # Build with -Wdocumentation. This relies on the tests including all the API
9+ # headers through API/LLDB.h.
10+ check_cxx_compiler_flag("-Wdocumentation"
11+ CXX_SUPPORTS_DOCUMENTATION)
12+ if (CXX_SUPPORTS_DOCUMENTATION)
13+ target_compile_options (APITests
14+ PRIVATE -Wdocumentation)
15+ endif ()
16+
17+
818if (Python3_RPATH)
919 set_property (TARGET APITests APPEND PROPERTY BUILD_RPATH "${Python3_RPATH} " )
1020endif ()
Original file line number Diff line number Diff line change 88
99#include " gtest/gtest.h"
1010
11- #include " lldb/API/SBCommandInterpreter.h"
12- #include " lldb/API/SBCommandReturnObject.h"
13- #include " lldb/API/SBDebugger.h"
11+ // Use the umbrella header for -Wdocumentation.
12+ #include " lldb/API/LLDB.h"
1413
1514#include < cstring>
1615#include < string>
Original file line number Diff line number Diff line change @@ -1375,6 +1375,9 @@ void MachineOutliner::emitOutlinedHashTree(Module &M) {
13751375}
13761376
13771377bool MachineOutliner::runOnModule (Module &M) {
1378+ if (skipModule (M))
1379+ return false ;
1380+
13781381 // Check if there's anything in the module. If it's empty, then there's
13791382 // nothing to outline.
13801383 if (M.empty ())
You can’t perform that action at this time.
0 commit comments