We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43ca631 commit fde01e2Copy full SHA for fde01e2
clang/include/clang/AST/Type.h
@@ -8434,7 +8434,7 @@ inline bool Type::isUndeducedType() const {
8434
/// Determines whether this is a type for which one can define
8435
/// an overloaded operator.
8436
inline bool Type::isOverloadableType() const {
8437
- if (!CanonicalType->isDependentType())
+ if (!isDependentType())
8438
return isRecordType() || isEnumeralType();
8439
return !isArrayType() && !isFunctionType() && !isAnyPointerType() &&
8440
!isMemberPointerType();
0 commit comments