summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2016-01-25 23:45:37 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2016-01-25 23:45:37 +0000
commit4d3b087c9376e77f43c4a45579417ea1498ee3d4 (patch)
tree2ac513a732a6fe2a1e848b57104a58cd7879c230 /clang
parentac9fb458fb1e400e69b013474c1c1e9429ff88e3 (diff)
downloadbcm5719-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.cpp2
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},
OpenPOWER on IntegriCloud