[all-commits] [llvm/llvm-project] 21ef0a: [clang][Sema] Add diagnostic note for reference o...

Prashanth via All-commits all-commits at lists.llvm.org
Fri Sep 11 05:53:31 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21ef0ade496fcaf20cfcb32f4a7e46f4f38abafd
      https://github.com/llvm/llvm-project/commit/21ef0ade496fcaf20cfcb32f4a7e46f4f38abafd
  Author: Prashanth <TheStarOne01 at proton.me>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/Sema/typo-correction.c

  Log Message:
  -----------
  [clang][Sema]  Add diagnostic note for reference of function-like macros requiring without parentheses (#123495)

This PR enhances the Clang diagnostics to provide better guidance when
function-like macros are used without parentheses. Additionally, it
updates the relevant test cases to reflect these changes (#123038 ).

---------

Co-authored-by: Sirraide <aeternalmail at gmail.com>
Co-authored-by: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>



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