Mercurial > hg > CbC > CbC_llvm
changeset 193:65ec4991372c
fix isCodeTy
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 18:12:20 +0900 |
parents | d7606dcf6fce |
children | f2ef29ba5fe2 |
files | clang/include/clang/AST/Type.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/clang/include/clang/AST/Type.h Mon Dec 14 18:01:34 2020 +0900 +++ b/clang/include/clang/AST/Type.h Mon Dec 14 18:12:20 2020 +0900 @@ -6928,7 +6928,7 @@ #ifndef noCbC inline bool Type::is__CodeType() const { if (dyn_cast<BuiltinType>(CanonicalType)) - return isSpecificBuiltinType(BuiltinType::Void) || isSpecificBuiltinType(BuiltinType::__Code); + return isSpecificBuiltinType(BuiltinType::__Code); return false; } #endif