Result.setIsUnsigned(!getType()->isSignedIntegerType());
break;
}
+ case TypesCompatibleExprClass:
+ Result = cast<TypesCompatibleExpr>(this)->typesAreCompatible();
+ break;
case DeclRefExprClass:
if (const EnumConstantDecl *D =
dyn_cast<EnumConstantDecl>(cast<DeclRefExpr>(this)->getDecl())) {
QualType getArgType1() { return Type1; }
QualType getArgType2() { return Type2; }
- int typesAreCompatible() { return Type::typesAreCompatible(Type1,Type2); }
+ int typesAreCompatible() const { return Type::typesAreCompatible(Type1,Type2); }
virtual SourceRange getSourceRange() const {
return SourceRange(BuiltinLoc, RParenLoc);