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

References

tools/clang/lib/AST/DeclPrinter.cpp
  376        D != DEnd; ++D) {
  376        D != DEnd; ++D) {
  380     if (isa<ObjCIvarDecl>(*D))
  384     if (D->isImplicit())
  389     if (auto FD = dyn_cast<FunctionDecl>(*D))
  406     QualType CurDeclType = getDeclType(*D);
  411         Decls.push_back(*D);
  422     if (isa<TagDecl>(*D) && !cast<TagDecl>(*D)->isFreeStanding()) {
  422     if (isa<TagDecl>(*D) && !cast<TagDecl>(*D)->isFreeStanding()) {
  423       Decls.push_back(*D);
  427     if (isa<AccessSpecDecl>(*D)) {
  430       Print(D->getAccess());
  437     Visit(*D);
  441     if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) ||
  441     if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) ||
  442         isa<OMPDeclareMapperDecl>(*D) || isa<OMPRequiresDecl>(*D) ||
  442         isa<OMPDeclareMapperDecl>(*D) || isa<OMPRequiresDecl>(*D) ||
  443         isa<OMPAllocateDecl>(*D))
  445     else if (isa<ObjCMethodDecl>(*D) && cast<ObjCMethodDecl>(*D)->hasBody())
  445     else if (isa<ObjCMethodDecl>(*D) && cast<ObjCMethodDecl>(*D)->hasBody())
  447     else if (auto FD = dyn_cast<FunctionDecl>(*D)) {
  452     } else if (auto TD = dyn_cast<FunctionTemplateDecl>(*D)) {
  457     } else if (isa<NamespaceDecl>(*D) || isa<LinkageSpecDecl>(*D) ||
  457     } else if (isa<NamespaceDecl>(*D) || isa<LinkageSpecDecl>(*D) ||
  458              isa<ObjCImplementationDecl>(*D) ||
  459              isa<ObjCInterfaceDecl>(*D) ||
  460              isa<ObjCProtocolDecl>(*D) ||
  461              isa<ObjCCategoryImplDecl>(*D) ||
  462              isa<ObjCCategoryDecl>(*D))
  464     else if (isa<EnumConstantDecl>(*D)) {
  465       DeclContext::decl_iterator Next = D;
  475         ((isa<FunctionDecl>(*D) &&
  476           cast<FunctionDecl>(*D)->doesThisDeclarationHaveABody()) ||
  477          (isa<FunctionTemplateDecl>(*D) &&
  478           cast<FunctionTemplateDecl>(*D)->getTemplatedDecl()->doesThisDeclarationHaveABody())))
  485     if (D->hasAttr<OMPDeclareTargetDeclAttr>())