Home
last modified time | relevance | path

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

/freebsd/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()
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 …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp16175 QualType FirstParamType = FnDecl->getParamDecl(0)->getType(); in CheckOperatorNewDeleteTypes() local
16181 FirstParamType = RemoveAddressSpaceFromPtr(SemaRef, PtrTy); in CheckOperatorNewDeleteTypes()
16189 if (SemaRef.Context.getCanonicalType(FirstParamType).getUnqualifiedType() != in CheckOperatorNewDeleteTypes()
16194 return SemaRef.Diag(FnDecl->getLocation(), FirstParamType->isDependentType() in CheckOperatorNewDeleteTypes()
16586 QualType FirstParamType = (*Param)->getType().getUnqualifiedType(); in CheckLiteralOperatorDeclaration() local
16590 const PointerType *PT = FirstParamType->getAs<PointerType>(); in CheckLiteralOperatorDeclaration()
16595 << FirstParamType << "'const char *'" << (*Param)->getSourceRange(); in CheckLiteralOperatorDeclaration()
16604 << FirstParamType << "'const char *'" << (*Param)->getSourceRange(); in CheckLiteralOperatorDeclaration()
16619 << FirstParamType << "'const char *'" << (*Param)->getSourceRange(); in CheckLiteralOperatorDeclaration()
H A DSemaOverload.cpp9152 QualType FirstParamType = C->Function->getParamDecl(Reversed ? 1 : 0) in addGenericBinaryPointerOrEnumeralOverloads() local
9160 if (!FirstParamType->isEnumeralType() || in addGenericBinaryPointerOrEnumeralOverloads()
9166 std::make_pair(S.Context.getCanonicalType(FirstParamType), in addGenericBinaryPointerOrEnumeralOverloads()