[all-commits] [llvm/llvm-project] 00f40e: [Clang] Add missing macro undefs in AttributeSpell...

Oleksandr T. via All-commits all-commits at lists.llvm.org
Thu May 22 11:24:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00f40e3c1ac3163dd92ed7f5a0779775ed190596
      https://github.com/llvm/llvm-project/commit/00f40e3c1ac3163dd92ed7f5a0779775ed190596
  Author: Oleksandr T. <oleksandr.tarasiuk at outlook.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M clang/lib/Basic/Attributes.cpp
    M clang/utils/TableGen/ClangAttrEmitter.cpp

  Log Message:
  -----------
  [Clang] Add missing macro undefs in AttributeSpellingList emitter (#141090)

Fixes
https://github.com/llvm/llvm-project/pull/140629#issuecomment-2901568992

---

This patch adds `#undef ATTR_NAME` and `#undef ATTR_SCOPE_NAME` to the
end of the generated `AttributeSpellingList.inc` file to prevent macro
redefinition warnings



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