we have to use c++14 now for llvm10

This commit is contained in:
Andrew Kelley
2019-10-02 13:05:10 -04:00
parent 6f10e3fda6
commit ce56ae8afe
2 changed files with 2 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ LLVMTargetMachineRef ZigLLVMCreateTargetMachine(LLVMTargetRef T, const char *Tri
}
unsigned ZigLLVMDataLayoutGetStackAlignment(LLVMTargetDataRef TD) {
return unwrap(TD)->getStackAlignment();
return unwrap(TD)->getStackAlignment().value();
}
bool ZigLLVMTargetMachineEmitToFile(LLVMTargetMachineRef targ_machine_ref, LLVMModuleRef module_ref,