diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2016-01-25 23:45:37 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2016-01-25 23:45:37 +0000 |
commit | 4d3b087c9376e77f43c4a45579417ea1498ee3d4 (patch) | |
tree | 2ac513a732a6fe2a1e848b57104a58cd7879c230 /clang | |
parent | ac9fb458fb1e400e69b013474c1c1e9429ff88e3 (diff) | |
download | bcm5719-llvm-4d3b087c9376e77f43c4a45579417ea1498ee3d4.tar.gz bcm5719-llvm-4d3b087c9376e77f43c4a45579417ea1498ee3d4.zip |
Fix use of constexpr std::pair that's not in C++11.
llvm-svn: 258749
Diffstat (limited to 'clang')
-rw-r--r-- | clang/lib/CodeGen/CGExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp index d1682e2930a..10547a4ecf0 100644 --- a/clang/lib/CodeGen/CGExpr.cpp +++ b/clang/lib/CodeGen/CGExpr.cpp @@ -2636,7 +2636,7 @@ void CodeGenFunction::EmitCfiCheckFail() { Address CheckKindAddr(V, getIntAlign()); llvm::Value *CheckKind = Builder.CreateLoad(CheckKindAddr); - constexpr std::pair<int, SanitizerMask> CheckKinds[] = { + const std::pair<int, SanitizerMask> CheckKinds[] = { {CFITCK_VCall, SanitizerKind::CFIVCall}, {CFITCK_NVCall, SanitizerKind::CFINVCall}, {CFITCK_DerivedCast, SanitizerKind::CFIDerivedCast}, |