summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-10-23 19:39:16 +0000
committerJustin Lebar <jlebar@google.com>2016-10-23 19:39:16 +0000
commita45e6fde585a440b6bdaeca39eb1983e1aa84857 (patch)
treeec43283f2a7f4ca2b69f08d05eafa74b09897622 /llvm/lib/CodeGen
parent878e7e2ff63fd8a29da664c512b928de0c8740a6 (diff)
downloadbcm5719-llvm-a45e6fde585a440b6bdaeca39eb1983e1aa84857.tar.gz
bcm5719-llvm-a45e6fde585a440b6bdaeca39eb1983e1aa84857.zip
Remove LLVM_CONSTEXPR.
Summary: With MSVC 2013 and GCC < 4.8 gone, we can use the "constexpr" keyword. Reviewers: bkramer, mehdi_amini Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25901 llvm-svn: 284947
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h b/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
index 4d81441f6a7..05ac1cb02f7 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
@@ -126,8 +126,7 @@ public:
uint16_t type; // enum AtomType
uint16_t form; // DWARF DW_FORM_ defines
- LLVM_CONSTEXPR Atom(uint16_t type, uint16_t form)
- : type(type), form(form) {}
+ constexpr Atom(uint16_t type, uint16_t form) : type(type), form(form) {}
#ifndef NDEBUG
void print(raw_ostream &O) {
O << "Type: " << dwarf::AtomTypeString(type) << "\n"
OpenPOWER on IntegriCloud