Fix use of constexpr std::pair that's not in C++11.

llvm-svn: 258749
This commit is contained in:
Evgeniy Stepanov 2016-01-25 23:45:37 +00:00
parent ac9fb458fb
commit 4d3b087c93
1 changed files with 1 additions and 1 deletions

View File

@ -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},