summaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ELFAttributeParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/ELFAttributeParser.cpp')
-rw-r--r--llvm/lib/Support/ELFAttributeParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/ELFAttributeParser.cpp b/llvm/lib/Support/ELFAttributeParser.cpp
index 2a30794bc1e9..1206553343ef 100644
--- a/llvm/lib/Support/ELFAttributeParser.cpp
+++ b/llvm/lib/Support/ELFAttributeParser.cpp
@@ -16,7 +16,7 @@
using namespace llvm;
using namespace llvm::ELFAttrs;
-static const EnumEntry<unsigned> tagNames[] = {
+static constexpr EnumEntry<unsigned> tagNames[] = {
{"Tag_File", ELFAttrs::File},
{"Tag_Section", ELFAttrs::Section},
{"Tag_Symbol", ELFAttrs::Symbol},