clang 20.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 1246 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 1225 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 1184 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 921 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 835 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 880 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 772 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 764 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 799 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 689 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 1312 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 1329 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. |
MI | the associated MacroInfo. |
Definition at line 1341 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSpace(), clang::MacroInfo::getNumParams(), clang::extractapi::DeclarationFragments::Identifier, clang::extractapi::DeclarationFragments::InternalParam, clang::MacroInfo::isC99Varargs(), clang::MacroInfo::isFunctionLike(), clang::MacroInfo::isVariadic(), clang::extractapi::DeclarationFragments::Keyword, clang::MacroInfo::params(), and clang::extractapi::DeclarationFragments::Text.
|
static |
Definition at line 522 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 1369 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 1390 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 1412 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 1456 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 1557 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 952 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 814 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 1203 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 851 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 1083 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSpace(), clang::extractapi::DeclarationFragments::begin(), clang::TemplateArgument::Declaration, clang::TemplateArgument::Expression, clang::index::generateUSRForDecl(), getFragmentsForTemplateArguments(), clang::extractapi::DeclarationFragments::Identifier, clang::TemplateArgument::Integral, clang::extractapi::DeclarationFragments::Keyword, clang::TemplateArgument::Null, clang::TemplateArgument::NullPtr, clang::TemplateArgument::Pack, clang::TemplateArgument::StructuralValue, clang::TemplateArgument::Template, clang::TemplateArgument::TemplateExpansion, clang::extractapi::DeclarationFragments::Text, clang::TemplateArgument::Type, and clang::extractapi::DeclarationFragments::TypeIdentifier.
Referenced by getFragmentsForClassTemplatePartialSpecialization(), getFragmentsForClassTemplateSpecialization(), getFragmentsForTemplateArguments(), getFragmentsForTemplateParameters(), getFragmentsForVarTemplatePartialSpecialization(), and getFragmentsForVarTemplateSpecialization().
|
static |
Definition at line 985 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::extractapi::DeclarationFragments::appendSpace(), clang::Default, clang::extractapi::DeclarationFragments::GenericParameter, getFragmentsForTemplateArguments(), getFragmentsForTemplateParameters(), clang::extractapi::DeclarationFragments::Keyword, clang::TemplateParam, clang::extractapi::DeclarationFragments::Text, and clang::extractapi::DeclarationFragments::TypeIdentifier.
Referenced by getFragmentsForClassTemplatePartialSpecialization(), getFragmentsForConcept(), getFragmentsForFunctionTemplate(), getFragmentsForRedeclarableTemplate(), getFragmentsForTemplateParameters(), and getFragmentsForVarTemplatePartialSpecialization().
|
static |
Build DeclarationFragments for a typedef TypedefNameDecl
.
Definition at line 1587 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 533 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 575 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 1289 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 1269 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 1611 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), clang::getAsString(), clang::Decl::getDeclContext(), getSubHeading(), and clang::extractapi::DeclarationFragments::Identifier.
Referenced by getSubHeading(), 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 1639 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 1652 of file DeclarationFragments.cpp.
References clang::extractapi::DeclarationFragments::append(), and clang::extractapi::DeclarationFragments::Identifier.