|
| static unique_ptr< CscLogger > | initLogger () |
| |
| string | getDeclaringHeaderFilePath (const clang::TypeDecl &objectType, clang::ASTContext &astContext) |
| |
| static const CscCommandDataTypeNodeMetadata * | createMetadataForType (const clang::QualType &type, const string &name, const string &doc, CscCommandMetadataParserContext *context, bool useFieldsRatherThanConstructorForObjects, bool noFallbackOnObjectType) |
| |
| string | collectDocText (clang::comments::Comment *comment, string &docStr) |
| |
| string | collectDocText (clang::comments::Comment *comment) |
| |
| vector< string > | getParamTypesAsPureCode (const clang::CXXConstructorDecl *ctor, const clang::ASTContext &astContext) |
| |
| string | collectDocText (clang::comments::FullComment *fullComment) |
| |
| static bool | isStdString (const clang::QualType &originalType) |
| |
| const CscEnumInfos * | getEnumInfos (const clang::QualType &rawT, const CscCommandMetadataParserContext *context) |
| |
| const CscEnumInfos * | getEnumInfosByQualifiedName (const string &qualifiedName) |
| |
| string | qualifiedNameToSimpleName (const string &enumQualifiedName) |
| |
| void | createEnumInfos (const string &enumQualifiedName, const string &doc, const map< string, unsigned long long > &values, const map< string, string > &valuesDoc, const string &headerRelativePath) |
| |
| CscConstructorDoc | collectDoc (const clang::FunctionDecl *funcDecl, const clang::ASTContext &context) |
| |
| vector< clang::QualType > | extractClassTemplateArgQualType (const clang::QualType &T) |
| |
| static pair< string, vector< clang::QualType > > | getTemplateInfo (const clang::QualType &T) |
| |
| static clang::QualType | getStrippedType (clang::QualType T) |
| | Retire const, reference, pointer, etc. pour arriver au “noyau” du type. More...
|
| |
| string | getSourceCode (const clang::DeclaratorDecl *ctorDecl, const clang::ASTContext &context) |
| |
| string | getFunctionSignature (const clang::CXXMethodDecl *methodDecl, clang::ASTContext &context) |
| |
| optional< string > | getStringLiteral (const clang::Expr *initExpr, clang::ASTContext &context) |
| |
| clang::CXXConstructorDecl * | getMostRelevantConstructor (clang::CXXRecordDecl *objectType, clang::ASTContext &context) |
| |
| const CscCommandDataTypeMetadata * | createOrUpdateObjectMetadata (const string &headerFileRelativePath, const string &classQualifiedName, const string &classSimpleName, const string &doc, CscCommandMetadataParserContext *context, const vector< const CscCommandDataTypeNodeMetadata * > ¶msMetadata, bool registerTypeInCache) |
| |
| const CscCommandDataTypeMetadata * | createMetaTypeForObjectTypeUsingConstructor (clang::CXXRecordDecl *objectType, CscCommandMetadataParserContext *context, bool registerTypeInCache=true) |
| |
| const CscCommandDataTypeMetadata * | createMetaTypeForObjectTypeUsingPublicFieldsAndGetters (clang::CXXRecordDecl *objectType, CscCommandMetadataParserContext *context) |
| |
| const CscCommandDataTypeMetadata * | createMetaTypeForObjectType (const clang::QualType &objectType, CscCommandMetadataParserContext *context) |
| |
| const CscCommandDataTypeNodeMetadata * | createParamMetaTypeForObjectType (const string &name, const string &doc, const clang::QualType &objectType, CscCommandMetadataParserContext *context, bool useFieldsRatherThanConstructorForObjects, CscCommandPtrType ptrType) |
| |
| static optional< clang::QualType > | isSharedPtr (const clang::QualType &rawT) |
| |
| static optional< clang::QualType > | isUniquePtr (const clang::QualType &rawT) |
| |
| static optional< clang::QualType > | isSmartPtr (const clang::QualType &rawT) |
| |
| bool | isCppType (const clang::QualType &type) |
| |
| const CscCommandDataTypeNodeMetadata * | createMetadataForPtrType (const clang::QualType &type, const string &name, const string &doc, CscCommandMetadataParserContext *context, bool useFieldsRatherThanConstructorForObjects, CscCommandPtrType ptrType) |
| |
| bool | isCommandClass (clang::CXXRecordDecl *decl) |
| |
| const CscCommandResultMetadata * | buildResultMetadata (const clang::CXXMethodDecl *executeMethod, CscCommandMetadataParserContext *context) |
| |
| string | normalizeWhitespace (const string &input) |
| |
| void | trimSpacesFrom (string &s, size_t start) |
| |
| vector< string > | getCompilationArgsForWindows (const vector< string > &requestedArgsPrefixes, bool adjustLlvmPaths) |
| |
| vector< string > | getCompilationArgsFromCompileCommandsJson (const vector< string > &requestedArgsPrefixes, bool adjustLlvmPaths) |
| |
| static llvm::cl::OptionCategory | clangToolCategory ("class-info-extractor options") |
| |
| const CscCommandDataTypeNodeMetadata * | getTypeNodeFromJson (const string ¶mName, CscJsonObjectReader ¶mJson) |
| |
| CscCommandDataTypeMetadata * | getTypeFromJson (CscJsonObjectReader &typeJson, optional< string > commandId={}) |
| |
| bool | isAnyDependentTypeOrEnumInModifiedList (CscJsonObjectReader &typeJson, const vector< string > &modifiedEnumQualifiedNames, const vector< string > &modifiedTypeQualifiedNames) |
| |
| CscJsonObject * | loadJsonCache (const fs::path &cacheFile) |
| |
| CscJsonObject * | getJsonForTypeNode (const CscCommandDataTypeNodeMetadata *typeNode, CscJsonCacheData *cacheData) |
| |
| void | setHeaderRelativePathInJson (string &relativePath, CscJsonObject &json, const string &commandId) |
| |
| CscJsonObject * | getJsonForType (const string &commandId, const CscCommandDataTypeMetadata *typeMetadata, CscJsonCacheData *cacheData=nullptr) |
| |
Conscience's Commands metadata generation module -> please see CscCommandMetadataBuilder doc
- See also
- CscCommandMetadataBuilder