Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/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()
1720 QualType FirstParamType = FirstParam->getType(); in diagnoseMismatch() local
1722 if (FirstParamType != SecondParamType && in diagnoseMismatch()
1725 FirstParamType->getAs<DecayedType>()) { in diagnoseMismatch()
1728 << (I + 1) << FirstParamType << true in diagnoseMismatch()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp16297 QualType FirstParamType = FnDecl->getParamDecl(0)->getType(); in CheckOperatorNewDeleteTypes() local
16303 FirstParamType = RemoveAddressSpaceFromPtr(SemaRef, PtrTy); in CheckOperatorNewDeleteTypes()
16311 if (SemaRef.Context.getCanonicalType(FirstParamType).getUnqualifiedType() != in CheckOperatorNewDeleteTypes()
16316 return SemaRef.Diag(FnDecl->getLocation(), FirstParamType->isDependentType() in CheckOperatorNewDeleteTypes()
16714 QualType FirstParamType = (*Param)->getType().getUnqualifiedType(); in CheckLiteralOperatorDeclaration() local
16718 const PointerType *PT = FirstParamType->getAs<PointerType>(); in CheckLiteralOperatorDeclaration()
16723 << FirstParamType << "'const char *'" << (*Param)->getSourceRange(); in CheckLiteralOperatorDeclaration()
16732 << FirstParamType << "'const char *'" << (*Param)->getSourceRange(); in CheckLiteralOperatorDeclaration()
16747 << FirstParamType << "'const char *'" << (*Param)->getSourceRange(); in CheckLiteralOperatorDeclaration()
H A DSemaOverload.cpp9125 QualType FirstParamType = C->Function->getParamDecl(Reversed ? 1 : 0) in addGenericBinaryPointerOrEnumeralOverloads() local
9133 if (!FirstParamType->isEnumeralType() || in addGenericBinaryPointerOrEnumeralOverloads()
9139 std::make_pair(S.Context.getCanonicalType(FirstParamType), in addGenericBinaryPointerOrEnumeralOverloads()