Mercurial > hg > CbC > CbC_llvm
changeset 215:8dc2792ec4a4
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Jul 2021 16:06:13 +0900 |
parents | 0cf2d4ade63d |
children | ca14b6d29a6f |
files | clang/lib/Lex/Preprocessor.cpp llvm/lib/IR/Type.cpp |
diffstat | 2 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/clang/lib/Lex/Preprocessor.cpp Tue Jul 13 09:53:52 2021 +0900 +++ b/clang/lib/Lex/Preprocessor.cpp Tue Jul 13 16:06:13 2021 +0900 @@ -1439,7 +1439,6 @@ // Push the ( "string" ) tokens into the token stream. MacroInfo *MI = AllocateMacroInfo(Loc); Token Tok; - bool Invalid = false; std::unique_ptr<Lexer> lx(new Lexer(CurLexer->getFileID(),getSourceManager().getBufferOrFake(CurLexer->getFileID(), Loc),*this)); lx->InitLexer(src,src,src + strlen(src)); lx->Lex(Tok);
--- a/llvm/lib/IR/Type.cpp Tue Jul 13 09:53:52 2021 +0900 +++ b/llvm/lib/IR/Type.cpp Tue Jul 13 16:06:13 2021 +0900 @@ -192,6 +192,7 @@ Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } Type *Type::getPPC_FP128Ty(LLVMContext &C) { return &C.pImpl->PPC_FP128Ty; } Type *Type::getX86_MMXTy(LLVMContext &C) { return &C.pImpl->X86_MMXTy; } +Type *Type::getX86_AMXTy(LLVMContext &C) { return &C.pImpl->X86_AMXTy; } #ifndef noCbC Type *Type::get__CodeTy(LLVMContext &C) { return &C.pImpl->__CodeTy; } #endif