Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
1715 QualType FirstParamType = FirstParam->getType(); in diagnoseMismatch() local
1717 if (FirstParamType != SecondParamType && in diagnoseMismatch()
1718 computeODRHash(FirstParamType) != computeODRHash(SecondParamType)) { in diagnoseMismatch()
1720 FirstParamType->getAs<DecayedType>()) { in diagnoseMismatch()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDeclCXX.cpp15841 QualType FirstParamType = FnDecl->getParamDecl(0)->getType(); in CheckOperatorNewDeleteTypes() local
15847 FirstParamType = RemoveAddressSpaceFromPtr(SemaRef, PtrTy); in CheckOperatorNewDeleteTypes()
15855 if (SemaRef.Context.getCanonicalType(FirstParamType).getUnqualifiedType() != in CheckOperatorNewDeleteTypes()
15860 return SemaRef.Diag(FnDecl->getLocation(), FirstParamType->isDependentType() in CheckOperatorNewDeleteTypes()
16255 QualType FirstParamType = (*Param)->getType().getUnqualifiedType(); in CheckLiteralOperatorDeclaration() local
16259 const PointerType *PT = FirstParamType->getAs<PointerType>(); in CheckLiteralOperatorDeclaration()
16264 << FirstParamType << "'const char *'" << (*Param)->getSourceRange(); in CheckLiteralOperatorDeclaration()
16273 << FirstParamType << "'const char *'" << (*Param)->getSourceRange(); in CheckLiteralOperatorDeclaration()
16288 << FirstParamType << "'const char *'" << (*Param)->getSourceRange(); in CheckLiteralOperatorDeclaration()
H A DSemaOverload.cpp8751 QualType FirstParamType = C->Function->getParamDecl(Reversed ? 1 : 0) in addGenericBinaryPointerOrEnumeralOverloads() local
8759 if (!FirstParamType->isEnumeralType() || in addGenericBinaryPointerOrEnumeralOverloads()
8765 std::make_pair(S.Context.getCanonicalType(FirstParamType), in addGenericBinaryPointerOrEnumeralOverloads()