Searched refs:OldType (Results 1 - 5 of 5) sorted by relevance

/external/clang/lib/Sema/
H A DSemaDecl.cpp1437 QualType OldType; local
1439 OldType = OldTypedef->getUnderlyingType();
1441 OldType = Context.getTypeDeclType(Old);
1455 if (OldType != NewType &&
1456 !OldType->isDependentType() &&
1458 !Context.hasSameType(OldType, NewType)) {
1461 << Kind << NewType << OldType; local
1803 const FunctionType *OldType = cast<FunctionType>(OldQType); local
1805 FunctionType::ExtInfo OldTypeInfo = OldType->getExtInfo();
1836 << OldType
[all...]
H A DSemaOverload.cpp921 const FunctionProtoType* OldType = cast<FunctionProtoType>(OldQType); local
928 (OldType->getNumArgs() != NewType->getNumArgs() ||
929 OldType->isVariadic() != NewType->isVariadic() ||
930 !FunctionArgTypesAreEqual(OldType, NewType)))
949 OldType->getResultType() != NewType->getResultType()))
2474 bool Sema::FunctionArgTypesAreEqual(const FunctionProtoType *OldType, argument
2478 for (FunctionProtoType::arg_type_iterator O = OldType->arg_type_begin(),
2480 E = OldType->arg_type_end(); O && (O != E); ++O, ++N) {
2482 if (ArgPos) *ArgPos = O - OldType->arg_type_begin();
2489 for (FunctionProtoType::arg_type_iterator O = OldType
[all...]
H A DSemaDeclCXX.cpp563 QualType OldType = Old->getType(); local
569 OldType = OldType->getAs<ReferenceType>()->getPointeeType();
572 OldType = OldType->getAs<PointerType>()->getPointeeType();
575 OldType = OldType->getAs<MemberPointerType>()->getPointeeType();
585 OldType->getAs<FunctionProtoType>(), Old->getLocation(),
H A DTreeTransform.h4091 QualType OldType = ParamTypes[i]; local
4096 = dyn_cast<PackExpansionType>(OldType)) {
4146 OldType = Expansion->getPattern();
4149 NewType = getDerived().TransformType(OldType);
4151 NewType = getDerived().TransformType(OldType);
/external/clang/include/clang/Sema/
H A DSema.h1520 bool FunctionArgTypesAreEqual(const FunctionProtoType *OldType,

Completed in 166 milliseconds