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.cpp3688 QualType OldQType = Context.getCanonicalType(Old->getType()); in MergeFunctionDecl() local
3690 const FunctionType *OldType = cast<FunctionType>(OldQType); in MergeFunctionDecl()
3816 QualType OldQTypeForComparison = OldQType; in MergeFunctionDecl()
3851 if (const auto *OldFPT = OldQType->getAs<FunctionProtoType>()) { in MergeFunctionDecl()
3862 OldQType = Context.getCanonicalType(Old->getType()); in MergeFunctionDecl()
3879 ResQT = Context.mergeObjCGCQualifiers(NewQType, OldQType); in MergeFunctionDecl()
4063 if (!canFullyTypeCheckRedeclaration(New, Old, NewQType, OldQType)) in MergeFunctionDecl()
4142 if (Context.typesAreCompatible(OldQType, NewQType)) { in MergeFunctionDecl()
4143 const FunctionType *OldFuncType = OldQType->getAs<FunctionType>(); in MergeFunctionDecl()
4177 if (Context.hasSameFunctionTypeIgnoringPtrSizes(OldQType, NewQType)) in MergeFunctionDecl()
[all …]
H A DSemaOverload.cpp1310 QualType OldQType = SemaRef.Context.getCanonicalType(Old->getType()); in IsOverloadOrOverrideImpl() local
1319 if (isa<FunctionNoProtoType>(OldQType.getTypePtr()) || in IsOverloadOrOverrideImpl()
1323 const auto *OldType = cast<FunctionProtoType>(OldQType); in IsOverloadOrOverrideImpl()
1329 if (OldQType != NewQType && OldType->isVariadic() != NewType->isVariadic()) in IsOverloadOrOverrideImpl()