[all-commits] [llvm/llvm-project] 972a4e: [llvm] Fix include guards

Elliot Goodrich via All-commits all-commits at lists.llvm.org
Tue Jun 13 03:18:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 972a4e889dec3adcad5f9a4c218872db57b88603
      https://github.com/llvm/llvm-project/commit/972a4e889dec3adcad5f9a4c218872db57b88603
  Author: Elliot Goodrich <elliotgoodrich at gmail.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M llvm/lib/Support/DebugOptions.h
    M llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.h
    M llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.h
    M llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.h
    M llvm/lib/Target/DirectX/DXILResourceAnalysis.h
    M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.h
    M llvm/lib/Target/SystemZ/SystemZMachineScheduler.h

  Log Message:
  -----------
  [llvm] Fix include guards

Add missing include guards to LLVM header files that did not previously
have them and update existing include guards to ensure that they enclose
all non-whitespace, non-comment text to enable these headers for the
multiple-include optimization.

Differential Revision: https://reviews.llvm.org/D150511




More information about the All-commits mailing list