Home
last modified time | relevance | path

Searched refs:FirstParamType (Results 1 – 3 of 3) sorted by relevance

/llvm-project/clang/lib/AST/
H A DODRDiagsEmitter.cpp110 QualType FirstParamType = FirstParam->getType(); in diagnoseSubMismatchMethodParameters() local
112 if (FirstParamType != SecondParamType && in diagnoseSubMismatchMethodParameters()
113 computeODRHash(FirstParamType) != computeODRHash(SecondParamType)) { in diagnoseSubMismatchMethodParameters()
115 FirstParamType->getAs<DecayedType>()) { in diagnoseSubMismatchMethodParameters()
116 DiagError(ParameterType) << (I + 1) << FirstParamType << true in diagnoseSubMismatchMethodParameters()
119 DiagError(ParameterType) << (I + 1) << FirstParamType << false; in diagnoseSubMismatchMethodParameters()
1725 QualType FirstParamType = FirstParam->getType(); in diagnoseMismatch() local
1727 if (FirstParamType != SecondParamType && in diagnoseMismatch()
1728 computeODRHash(FirstParamType) != computeODRHash(SecondParamType)) { in diagnoseMismatch()
1730 FirstParamType->getAs<DecayedType>()) { in diagnoseMismatch()
[all …]
/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp16273 QualType FirstParamType = FnDecl->getParamDecl(0)->getType(); in CheckOverloadedOperatorDeclaration()
16279 FirstParamType = RemoveAddressSpaceFromPtr(SemaRef, PtrTy); in CheckOverloadedOperatorDeclaration()
16287 if (SemaRef.Context.getCanonicalType(FirstParamType).getUnqualifiedType() != in CheckOverloadedOperatorDeclaration()
16292 return SemaRef.Diag(FnDecl->getLocation(), FirstParamType->isDependentType() in CheckOverloadedOperatorDeclaration()
16684 QualType FirstParamType = (*Param)->getType().getUnqualifiedType(); in ActOnEmptyDeclaration()
16688 const PointerType *PT = FirstParamType->getAs<PointerType>(); in BuildExceptionDeclaration()
16693 << FirstParamType << "'const char *'" << (*Param)->getSourceRange(); in BuildExceptionDeclaration()
16702 << FirstParamType << "'const char *'" << (*Param)->getSourceRange(); in BuildExceptionDeclaration()
16717 << FirstParamType << "'const char *'" << (*Param)->getSourceRange(); in BuildExceptionDeclaration()
16116 QualType FirstParamType = FnDecl->getParamDecl(0)->getType(); CheckOperatorNewDeleteTypes() local
16527 QualType FirstParamType = (*Param)->getType().getUnqualifiedType(); CheckLiteralOperatorDeclaration() local
H A DSemaOverload.cpp9333 QualType FirstParamType = C->Function->getParamDecl(Reversed ? 1 : 0) in addMatrixBinaryArithmeticOverloads()
9341 if (!FirstParamType->isEnumeralType() || in addMatrixBinaryArithmeticOverloads()
9347 std::make_pair(S.Context.getCanonicalType(FirstParamType),
9176 QualType FirstParamType = C->Function->getParamDecl(Reversed ? 1 : 0) addGenericBinaryPointerOrEnumeralOverloads() local