[all-commits] [llvm/llvm-project] 4bdf54: Add note for base class to bugprone-throw-keyword-...

Aaron Puchert via All-commits all-commits at lists.llvm.org
Fri Sep 26 10:10:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bdf545c4d8771c2e69ebcf8ef809b6bc4f3de19
      https://github.com/llvm/llvm-project/commit/4bdf545c4d8771c2e69ebcf8ef809b6bc4f3de19
  Author: Aaron Puchert <aaron.puchert at sap.com>
  Date:   2025-09-26 (Fri, 26 Sep 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/ThrowKeywordMissingCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/throw-keyword-missing.cpp

  Log Message:
  -----------
  Add note for base class to bugprone-throw-keyword-missing (#160751)

It might not always be clear which base the check found that has
"exception" in its name. So we add a note to point to that class.
Ideally we'd point to the `CXXBaseSpecifier`, but it seems we can't bind
to that.



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