[all-commits] [llvm/llvm-project] b06da3: [clang-tidy] ignoring macro with hash preprocessin...

Congcong Cai via All-commits all-commits at lists.llvm.org
Wed Jun 12 18:36:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b06da39cae0f7e2c6b8bc0bb03b734f9715c0bf3
      https://github.com/llvm/llvm-project/commit/b06da39cae0f7e2c6b8bc0bb03b734f9715c0bf3
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.cpp

  Log Message:
  -----------
  [clang-tidy] ignoring macro with hash preprocessing token in cppcoreguidelines-macro-usage (#95265)

`#` and `##` preprocessing tokens cannot be replaced by constexpr
function. It should be ignored in check.



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