Skip to content

Commit 0950d2c

Browse files
jhuber6Icohedron
authored andcommitted
[OpenMP] Fix multiply defined macro warning
1 parent d8412d4 commit 0950d2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Frontend/OpenMP/OMPContext.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ OMPContext::OMPContext(bool IsDeviceCompilation, Triple TargetTriple,
6767
TargetOffloadTriple.getArch() == Triple::x86_64) \
6868
ActiveTraits.set(unsigned(TraitProperty::Enum)); \
6969
}
70+
#undef OMP_TRAIT_PROPERTY
7071
} else {
7172
// Add the appropriate device kind trait based on the triple and the
7273
// IsDeviceCompilation flag.

0 commit comments

Comments
 (0)