Skip to content

Commit

Permalink
[CodeGen][NPM]RAGreedy: Put up include guard in the header
Browse files Browse the repository at this point in the history
  • Loading branch information
optimisan committed Mar 3, 2025
1 parent 1ded3ed commit 39fd44b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions llvm/include/llvm/CodeGen/RegAllocGreedyPass.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CODEGEN_REGALLOC_GREEDY_PASS_H
#define LLVM_CODEGEN_REGALLOC_GREEDY_PASS_H
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/RegAllocCommon.h"
#include "llvm/CodeGen/RegAllocFast.h"
Expand Down Expand Up @@ -42,3 +45,5 @@ class RAGreedyPass : public PassInfoMixin<RAGreedyPass> {
private:
Options Opts;
};

#endif // LLVM_CODEGEN_REGALLOC_GREEDY_PASS_H

0 comments on commit 39fd44b

Please sign in to comment.