reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaChecking.cpp
13053     if (!Param->isInvalidDecl() &&
13054         RequireCompleteType(Param->getLocation(), Param->getType(),
13054         RequireCompleteType(Param->getLocation(), Param->getType(),
13056       Param->setInvalidDecl();
13063         Param->getIdentifier() == nullptr &&
13064         !Param->isImplicit() &&
13066       Diag(Param->getLocation(), diag::err_parameter_name_omitted);
13073     QualType PType = Param->getOriginalType();
13076     diagnoseArrayStarInParamType(*this, PType, Param->getLocation());
13081     if (!Param->isInvalidDecl()) {
13082       if (CXXRecordDecl *ClassDecl = Param->getType()->getAsCXXRecordDecl()) {
13088           MarkFunctionReferenced(Param->getLocation(), Destructor);
13089           DiagnoseUseOfDecl(Destructor, Param->getLocation());
13098     if (const auto *Attr = Param->getAttr<PassObjectSizeAttr>())
13099       if (!Param->getType().isConstQualified())
13100         Diag(Param->getLocation(), diag::err_attribute_pointers_only)
13104     if (LangOpts.CPlusPlus && !Param->isInvalidDecl()) {
13107       DeclContext *DC = Param->getDeclContext();
13110           CheckShadowInheritedFields(Param->getLocation(), Param->getDeclName(),
13110           CheckShadowInheritedFields(Param->getLocation(), Param->getDeclName(),