[all-commits] [llvm/llvm-project] 15ee9d: [lldb] Build the API unittests with -Wdocumentatio...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Feb 26 08:23:51 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15ee9d91fbb55a507a8f0bce7d3d66a825c6ec30
      https://github.com/llvm/llvm-project/commit/15ee9d91fbb55a507a8f0bce7d3d66a825c6ec30
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M lldb/include/lldb/API/SBSaveCoreOptions.h
    M lldb/unittests/API/CMakeLists.txt
    M lldb/unittests/API/SBCommandInterpreterTest.cpp

  Log Message:
  -----------
  [lldb] Build the API unittests with -Wdocumentation (#128893)

The LLDB SB API headers should be -Wdocumentation clean as they might
get included by projects building with -Wdocumentation. Although I'd
love for all of LLDB to be clean, we're pretty far removed from that
goal. Until that changes, this PR will detect issues in the SB API
headers by including all the headers in the unittests (by including
LLDB/API.h) and building that with the warning, if the compiler supports
it.

rdar://143597614



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list