clang 19.0.0git
|
A factory class to build DeclarationFragments for different kinds of Decl. More...
#include "clang/ExtractAPI/DeclarationFragments.h"
A factory class to build DeclarationFragments for different kinds of Decl.
Definition at line 294 of file DeclarationFragments.h.
|
inlinestatic |
Definition at line 305 of file DeclarationFragments.h.
References clang::AS_none, clang::AS_private, clang::AS_protected, clang::AS_public, and clang::Decl::getAccess().
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitClassTemplatePartialSpecializationDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitClassTemplateSpecializationDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXConstructorDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXConversionDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXDestructorDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXMethodDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXRecordDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitFieldDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitVarDecl(), and clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitVarTemplateDecl().
|
static |
Definition at line 1075 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Decl::getASTContext(), getFragmentsForCXXClass(), getFragmentsForTemplateArguments(), getFragmentsForTemplateParameters(), clang::extractapi::DeclarationFragments::Keyword, clang::extractapi::DeclarationFragments::pop_back(), and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitClassTemplatePartialSpecializationDecl().
|
static |
Definition at line 1055 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Decl::getASTContext(), getFragmentsForCXXClass(), getFragmentsForTemplateArguments(), clang::extractapi::DeclarationFragments::Keyword, clang::extractapi::DeclarationFragments::pop_back(), and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitClassTemplateSpecializationDecl().
|
static |
Definition at line 1017 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), getFragmentsForTemplateParameters(), clang::extractapi::DeclarationFragments::Identifier, clang::extractapi::DeclarationFragments::Keyword, and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitConceptDecl().
|
static |
Definition at line 883 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::extractapi::DeclarationFragments::Keyword, clang::extractapi::DeclarationFragments::Text, and clang::extractapi::DeclarationFragments::TypeIdentifier.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXConversionDecl().
|
static |
Definition at line 797 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), getFragmentsForTypedef(), clang::extractapi::DeclarationFragments::getStructureTypeFragment(), and clang::extractapi::DeclarationFragments::Identifier.
Referenced by getFragmentsForClassTemplatePartialSpecialization(), getFragmentsForClassTemplateSpecialization(), and clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXRecordDecl().
|
static |
Definition at line 842 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Decl::getASTContext(), clang::extractapi::DeclarationFragments::getExceptionSpecificationString(), clang::FunctionDecl::getExceptionSpecType(), clang::NamedDecl::getName(), clang::FunctionDecl::getNumParams(), clang::FunctionDecl::getParamDecl(), clang::FunctionDecl::getReturnType(), clang::extractapi::DeclarationFragments::Identifier, clang::CXXMethodDecl::isConst(), clang::FunctionDecl::isConstexpr(), clang::CXXMethodDecl::isStatic(), clang::CXXMethodDecl::isVolatile(), clang::extractapi::DeclarationFragments::Keyword, and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXMethodDecl().
|
static |
Build DeclarationFragments for an enum declaration EnumDecl.
Definition at line 734 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Decl::getASTContext(), getFragmentsForTypedef(), clang::EnumDecl::getIntegerType(), clang::NamedDecl::getName(), clang::TagDecl::getTypedefNameForAnonDecl(), clang::extractapi::DeclarationFragments::Identifier, clang::QualType::isNull(), clang::extractapi::DeclarationFragments::Keyword, and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitEnumDecl().
|
static |
Build DeclarationFragments for an enum constant declaration EnumConstantDecl.
Definition at line 726 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::NamedDecl::getName(), and clang::extractapi::DeclarationFragments::Identifier.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::recordEnumConstants().
|
static |
Build DeclarationFragments for a field declaration FieldDecl.
Definition at line 761 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::extractapi::DeclarationFragments::Identifier, and clang::extractapi::DeclarationFragments::Keyword.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::recordObjCInstanceVariables(), and clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitFieldDecl().
|
static |
Build DeclarationFragments for a function declaration FunctionDecl.
Definition at line 651 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Func, clang::extractapi::DeclarationFragments::getExceptionSpecificationString(), clang::extractapi::DeclarationFragments::Identifier, clang::extractapi::DeclarationFragments::Keyword, clang::SC_Auto, clang::SC_Extern, clang::SC_None, clang::SC_PrivateExtern, clang::SC_Register, clang::SC_Static, and clang::extractapi::DeclarationFragments::Text.
Referenced by getFragmentsForFunctionTemplate(), getFragmentsForFunctionTemplateSpecialization(), and clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitFunctionDecl().
|
static |
Definition at line 1138 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Decl::getAsFunction(), getFragmentsForFunction(), getFragmentsForTemplateParameters(), clang::extractapi::DeclarationFragments::Keyword, and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXMethodDecl(), and clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitFunctionTemplateDecl().
|
static |
Definition at line 1154 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSpace(), getFragmentsForFunction(), clang::extractapi::DeclarationFragments::Keyword, and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXMethodDecl(), and clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitFunctionDecl().
|
static |
Build DeclarationFragments for a macro.
Name | name of the macro. |
MD | the associated MacroDirective. |
Definition at line 1165 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSpace(), clang::MacroDirective::getMacroInfo(), clang::extractapi::DeclarationFragments::Identifier, clang::extractapi::DeclarationFragments::InternalParam, clang::extractapi::DeclarationFragments::Keyword, and clang::extractapi::DeclarationFragments::Text.
|
static |
Definition at line 484 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::extractapi::DeclarationFragments::Identifier, and clang::extractapi::DeclarationFragments::Keyword.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitNamespaceDecl().
|
static |
Build DeclarationFragments for an Objective-C category declaration ObjCCategoryDecl.
Definition at line 1195 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSpace(), Category, clang::index::generateUSRForDecl(), clang::extractapi::DeclarationFragments::Identifier, clang::Interface, clang::extractapi::DeclarationFragments::Keyword, clang::extractapi::DeclarationFragments::Text, and clang::extractapi::DeclarationFragments::TypeIdentifier.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitObjCCategoryDecl().
|
static |
Build DeclarationFragments for an Objective-C interface declaration ObjCInterfaceDecl.
Definition at line 1216 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSpace(), clang::index::generateUSRForDecl(), clang::extractapi::DeclarationFragments::Identifier, clang::Interface, clang::extractapi::DeclarationFragments::Keyword, clang::extractapi::DeclarationFragments::Text, and clang::extractapi::DeclarationFragments::TypeIdentifier.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitObjCInterfaceDecl().
|
static |
Build DeclarationFragments for an Objective-C method declaration ObjCMethodDecl.
Definition at line 1238 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Decl::getASTContext(), clang::Selector::getNameForSlot(), clang::Selector::getNumArgs(), clang::ObjCMethodDecl::getParamDecl(), clang::ObjCMethodDecl::getReturnType(), clang::ObjCMethodDecl::getSelector(), clang::extractapi::DeclarationFragments::Identifier, clang::ObjCMethodDecl::isClassMethod(), clang::ObjCMethodDecl::isInstanceMethod(), clang::ObjCMethodDecl::param_size(), and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::recordObjCMethods().
|
static |
Build DeclarationFragments for an Objective-C property declaration ObjCPropertyDecl.
Definition at line 1282 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::First, clang::getNullabilitySpelling(), clang::extractapi::DeclarationFragments::Identifier, clang::extractapi::DeclarationFragments::Keyword, clang::ObjCPropertyAttribute::kind_assign, clang::ObjCPropertyAttribute::kind_atomic, clang::ObjCPropertyAttribute::kind_class, clang::ObjCPropertyAttribute::kind_copy, clang::ObjCPropertyAttribute::kind_direct, clang::ObjCPropertyAttribute::kind_getter, clang::ObjCPropertyAttribute::kind_noattr, clang::ObjCPropertyAttribute::kind_nonatomic, clang::ObjCPropertyAttribute::kind_null_resettable, clang::ObjCPropertyAttribute::kind_nullability, clang::ObjCPropertyAttribute::kind_readonly, clang::ObjCPropertyAttribute::kind_readwrite, clang::ObjCPropertyAttribute::kind_retain, clang::ObjCPropertyAttribute::kind_setter, clang::ObjCPropertyAttribute::kind_strong, clang::ObjCPropertyAttribute::kind_unsafe_unretained, clang::ObjCPropertyAttribute::kind_weak, clang::Property, clang::AttributedType::stripOuterNullability(), clang::extractapi::DeclarationFragments::Text, and clang::Unspecified.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::recordObjCProperties().
|
static |
Build DeclarationFragments for an Objective-C protocol declaration ObjCProtocolDecl.
Definition at line 1383 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSpace(), clang::index::generateUSRForDecl(), clang::extractapi::DeclarationFragments::Identifier, clang::extractapi::DeclarationFragments::Keyword, clang::extractapi::DeclarationFragments::Text, and clang::extractapi::DeclarationFragments::TypeIdentifier.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitObjCProtocolDecl().
|
static |
Definition at line 914 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Decl::getASTContext(), clang::extractapi::DeclarationFragments::getExceptionSpecificationString(), clang::FunctionDecl::getExceptionSpecType(), clang::NamedDecl::getNameAsString(), clang::FunctionDecl::getNumParams(), clang::FunctionDecl::getParamDecl(), clang::FunctionDecl::getReturnType(), clang::extractapi::DeclarationFragments::Identifier, clang::CXXMethodDecl::isConst(), clang::extractapi::DeclarationFragments::Keyword, and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXMethodDecl().
|
static |
Build DeclarationFragments for a struct/union record declaration RecordDecl.
Definition at line 776 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), getFragmentsForTypedef(), clang::extractapi::DeclarationFragments::Identifier, clang::extractapi::DeclarationFragments::Keyword, and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitRecordDecl().
|
static |
Definition at line 1034 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSpace(), clang::TemplateParameterList::asArray(), getFragmentsForTemplateParameters(), clang::NamedDecl::getName(), clang::TemplateDecl::getTemplateParameters(), clang::extractapi::DeclarationFragments::Identifier, clang::extractapi::DeclarationFragments::Keyword, and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXRecordDecl(), and clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitVarTemplateDecl().
|
static |
Definition at line 813 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::extractapi::DeclarationFragments::getExceptionSpecificationString(), clang::FunctionDecl::getExceptionSpecType(), clang::NamedDecl::getNameAsString(), clang::FunctionDecl::getNumParams(), clang::FunctionDecl::getParamDecl(), clang::extractapi::DeclarationFragments::Identifier, clang::extractapi::DeclarationFragments::Keyword, and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXConstructorDecl(), and clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXDestructorDecl().
|
static |
Definition at line 987 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSpace(), clang::extractapi::DeclarationFragments::begin(), and clang::extractapi::DeclarationFragments::Text.
Referenced by getFragmentsForClassTemplatePartialSpecialization(), getFragmentsForClassTemplateSpecialization(), getFragmentsForVarTemplatePartialSpecialization(), and getFragmentsForVarTemplateSpecialization().
|
static |
Definition at line 947 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSpace(), clang::extractapi::DeclarationFragments::GenericParameter, clang::extractapi::DeclarationFragments::Keyword, clang::TemplateParam, clang::extractapi::DeclarationFragments::Text, and clang::extractapi::DeclarationFragments::TypeIdentifier.
Referenced by getFragmentsForClassTemplatePartialSpecialization(), getFragmentsForConcept(), getFragmentsForFunctionTemplate(), getFragmentsForRedeclarableTemplate(), and getFragmentsForVarTemplatePartialSpecialization().
|
static |
Build DeclarationFragments for a typedef TypedefNameDecl
.
Definition at line 1413 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Decl::getASTContext(), clang::extractapi::DeclarationFragments::Identifier, and clang::extractapi::DeclarationFragments::Keyword.
Referenced by getFragmentsForCXXClass(), getFragmentsForEnum(), getFragmentsForRecordDecl(), and clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitTypedefNameDecl().
|
static |
Build DeclarationFragments for a variable declaration VarDecl.
Definition at line 495 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Decl::getASTContext(), clang::NamedDecl::getName(), clang::VarDecl::getStorageClass(), clang::VarDecl::getStorageClassSpecifierString(), clang::ValueDecl::getType(), clang::TypeSourceInfo::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTContext::getUnqualifiedObjCPointerType(), clang::extractapi::DeclarationFragments::Identifier, clang::VarDecl::isConstexpr(), clang::extractapi::DeclarationFragments::Keyword, clang::SC_None, and clang::T.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitVarDecl().
|
static |
Definition at line 537 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::extractapi::DeclarationFragments::begin(), clang::Decl::getASTContext(), clang::NamedDecl::getName(), clang::ValueDecl::getType(), clang::TypeSourceInfo::getType(), clang::DeclaratorDecl::getTypeSourceInfo(), clang::ASTContext::getUnqualifiedObjCPointerType(), clang::extractapi::DeclarationFragments::Identifier, clang::VarDecl::isConstexpr(), clang::VarDecl::isStaticDataMember(), clang::extractapi::DeclarationFragments::Keyword, and clang::T.
Referenced by getFragmentsForVarTemplatePartialSpecialization(), getFragmentsForVarTemplateSpecialization(), and clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitVarTemplateDecl().
|
static |
Definition at line 1116 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Decl::getASTContext(), getFragmentsForTemplateArguments(), getFragmentsForTemplateParameters(), getFragmentsForVarTemplate(), clang::extractapi::DeclarationFragments::Keyword, clang::extractapi::DeclarationFragments::pop_back(), and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitVarTemplatePartialSpecializationDecl().
|
static |
Definition at line 1097 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSemicolon(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Decl::getASTContext(), getFragmentsForTemplateArguments(), getFragmentsForVarTemplate(), clang::extractapi::DeclarationFragments::Keyword, clang::extractapi::DeclarationFragments::pop_back(), and clang::extractapi::DeclarationFragments::Text.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitVarTemplateSpecializationDecl().
|
static |
Build FunctionSignature for a function-like declaration FunctionT
like FunctionDecl, ObjCMethodDecl, or CXXMethodDecl.
The logic and implementation of building a signature for a FunctionDecl, CXXMethodDecl, and ObjCMethodDecl are exactly the same, but they do not share a common base. This template helps reuse the code.
Definition at line 462 of file DeclarationFragments.h.
References clang::extractapi::FunctionSignature::addParameter(), clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::begin(), clang::Function, and clang::extractapi::FunctionSignature::setReturnType().
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::recordObjCMethods(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXConstructorDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXConversionDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXDestructorDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXMethodDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitFunctionDecl(), and clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitFunctionTemplateDecl().
|
static |
Build sub-heading fragments for a NamedDecl.
Definition at line 1437 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::getAsString(), clang::Decl::getDeclContext(), and clang::extractapi::DeclarationFragments::Identifier.
Referenced by clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::recordEnumConstants(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::recordObjCInstanceVariables(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::recordObjCMethods(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::recordObjCProperties(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitClassTemplatePartialSpecializationDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitClassTemplateSpecializationDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitConceptDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXConstructorDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXConversionDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXDestructorDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXMethodDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitCXXRecordDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitEnumDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitFieldDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitFunctionDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitFunctionTemplateDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitNamespaceDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitObjCCategoryDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitObjCInterfaceDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitObjCProtocolDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitRecordDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitTypedefNameDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitVarDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitVarTemplateDecl(), clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitVarTemplatePartialSpecializationDecl(), and clang::extractapi::impl::ExtractAPIVisitorBase< Derived >::VisitVarTemplateSpecializationDecl().
|
static |
Build sub-heading fragments for an Objective-C method.
Definition at line 1459 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::NamedDecl::getNameAsString(), clang::extractapi::DeclarationFragments::Identifier, clang::ObjCMethodDecl::isClassMethod(), clang::ObjCMethodDecl::isInstanceMethod(), and clang::extractapi::DeclarationFragments::Text.
|
static |
Build a sub-heading for macro Name
.
Definition at line 1472 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), and clang::extractapi::DeclarationFragments::Identifier.