Skip to content

Commit 638daef

Browse files
committed
LLVMContext: rem constexpr to unblock build w/ gcc
Address build failures observed with gcc 7 and 8.
1 parent 41c1992 commit 638daef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/IR/LLVMContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
using namespace llvm;
3333

34-
static constexpr StringRef knownBundleName(unsigned BundleTagID) {
34+
static StringRef knownBundleName(unsigned BundleTagID) {
3535
switch (BundleTagID) {
3636
case LLVMContext::OB_deopt:
3737
return "deopt";

0 commit comments

Comments
 (0)