Skip to content

Commit e898518

Browse files
committed
[CodeGen][NPM]RAGreedy: Put up include guard in the header
1 parent 6ac51fe commit e898518

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/include/llvm/CodeGen/RegAllocGreedyPass.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
#ifndef LLVM_CODEGEN_REGALLOC_GREEDY_PASS_H
9+
#define LLVM_CODEGEN_REGALLOC_GREEDY_PASS_H
10+
811
#include "llvm/CodeGen/MachineFunctionPass.h"
912
#include "llvm/CodeGen/RegAllocCommon.h"
1013
#include "llvm/CodeGen/RegAllocFast.h"
@@ -42,3 +45,5 @@ class RAGreedyPass : public PassInfoMixin<RAGreedyPass> {
4245
private:
4346
Options Opts;
4447
};
48+
49+
#endif // LLVM_CODEGEN_REGALLOC_GREEDY_PASS_H

0 commit comments

Comments
 (0)