Mercurial > hg > CbC > CbC_llvm
changeset 211:286fdf80b38c
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 18:20:27 +0900 |
parents | f6c5cecc8b03 |
children | 50b3abffaea6 |
files | clang/lib/AST/ExprConstant.cpp llvm/lib/IR/LLVMContextImpl.cpp |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/clang/lib/AST/ExprConstant.cpp Tue Jun 08 06:40:22 2021 +0900 +++ b/clang/lib/AST/ExprConstant.cpp Tue Jun 08 18:20:27 2021 +0900 @@ -10959,6 +10959,9 @@ case BuiltinType::ID: break; #include "clang/AST/BuiltinTypes.def" case BuiltinType::Void: +#ifndef noCbC + case BuiltinType::__Code: +#endif return GCCTypeClass::Void; case BuiltinType::Bool:
--- a/llvm/lib/IR/LLVMContextImpl.cpp Tue Jun 08 06:40:22 2021 +0900 +++ b/llvm/lib/IR/LLVMContextImpl.cpp Tue Jun 08 18:20:27 2021 +0900 @@ -35,6 +35,7 @@ FP128Ty(C, Type::FP128TyID), PPC_FP128Ty(C, Type::PPC_FP128TyID), X86_MMXTy(C, Type::X86_MMXTyID), + X86_AMXTy(C, Type::X86_AMXTyID), #ifndef noCbC __CodeTy(C, Type::__CodeTyID), #endif