forked from OSchip/llvm-project
Fix use of constexpr std::pair that's not in C++11.
llvm-svn: 258749
This commit is contained in:
parent
ac9fb458fb
commit
4d3b087c93
|
@ -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},
|
||||
|
|
Loading…
Reference in New Issue