[all-commits] [llvm/llvm-project] 43f901: [NFC][TableGen] Add `IncludeGuardEmitter` to emit ...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Tue Oct 14 12:52:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43f901774529f8b86847238b60a8686831a4c7d6
      https://github.com/llvm/llvm-project/commit/43f901774529f8b86847238b60a8686831a4c7d6
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M llvm/include/llvm/TableGen/CodeGenHelpers.h
    M llvm/test/TableGen/directive1.td
    M llvm/test/TableGen/directive2.td
    M llvm/utils/TableGen/Basic/DirectiveEmitter.cpp

  Log Message:
  -----------
  [NFC][TableGen] Add `IncludeGuardEmitter` to emit header include guards (#163283)

Add a RAII class `IncludeGuardEmitter` which is similar to
`IfDefEmitter` but emits header include guards and adopt it in
DirectiveEmitter.



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