Home
last modified time | relevance | path

Searched refs:OldQType (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp3757 QualType OldQType = Context.getCanonicalType(Old->getType()); in MergeFunctionDecl() local
3759 const FunctionType *OldType = cast<FunctionType>(OldQType); in MergeFunctionDecl()
3883 QualType OldQTypeForComparison = OldQType; in MergeFunctionDecl()
3918 if (const auto *OldFPT = OldQType->getAs<FunctionProtoType>()) { in MergeFunctionDecl()
3934 OldQType = Context.getCanonicalType(Old->getType()); in MergeFunctionDecl()
3951 ResQT = Context.mergeObjCGCQualifiers(NewQType, OldQType); in MergeFunctionDecl()
4155 if (!canFullyTypeCheckRedeclaration(New, Old, NewQType, OldQType)) in MergeFunctionDecl()
4234 if (Context.typesAreCompatible(OldQType, NewQType)) { in MergeFunctionDecl()
4235 const FunctionType *OldFuncType = OldQType->getAs<FunctionType>(); in MergeFunctionDecl()
4269 if (Context.hasSameFunctionTypeIgnoringPtrSizes(OldQType, NewQType)) in MergeFunctionDecl()
[all …]
H A DSemaOverload.cpp1350 QualType OldQType = SemaRef.Context.getCanonicalType(Old->getType()); in IsOverloadOrOverrideImpl() local
1359 if (isa<FunctionNoProtoType>(OldQType.getTypePtr()) || in IsOverloadOrOverrideImpl()
1363 const auto *OldType = cast<FunctionProtoType>(OldQType); in IsOverloadOrOverrideImpl()
1369 if (OldQType != NewQType && OldType->isVariadic() != NewType->isVariadic()) in IsOverloadOrOverrideImpl()