# HG changeset patch # User Shinji KONO # Date 1607937140 -32400 # Node ID 65ec4991372ccc48ad0769925474ab28954786a6 # Parent d7606dcf6fce2744128a2f6fabbaf482b19710a9 fix isCodeTy diff -r d7606dcf6fce -r 65ec4991372c clang/include/clang/AST/Type.h --- 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(CanonicalType)) - return isSpecificBuiltinType(BuiltinType::Void) || isSpecificBuiltinType(BuiltinType::__Code); + return isSpecificBuiltinType(BuiltinType::__Code); return false; } #endif