Lines Matching refs:clang
13 #include "clang/Sema/SemaConsumer.h"
35 class ASTStructExtractor : public clang::SemaConsumer
55 ASTStructExtractor(clang::ASTConsumer *passthrough,
71 void Initialize(clang::ASTContext &Context);
82 bool HandleTopLevelDecl(clang::DeclGroupRef D);
87 void HandleTranslationUnit(clang::ASTContext &Ctx);
92 void HandleTagDeclDefinition(clang::TagDecl *D);
97 void CompleteTentativeDefinition(clang::VarDecl *D);
102 void HandleVTable(clang::CXXRecordDecl *RD, bool DefinitionRequired);
116 void InitializeSema(clang::Sema &S);
131 ExtractFromFunctionDecl(clang::FunctionDecl* F);
142 ExtractFromTopLevelDecl(clang::Decl* D);
144 clang::ASTContext *m_ast_context; ///< The AST context to use for identifiers and types.
145 clang::ASTConsumer *m_passthrough; ///< The ASTConsumer down the chain, for passthrough. NULL if it's a SemaConsumer.
146 clang::SemaConsumer *m_passthrough_sema; ///< The SemaConsumer down the chain, for passthrough. NULL if it's an ASTConsumer.
147 clang::Sema *m_sema; ///< The Sema to use.
148 clang::Action *m_action; ///< The Sema to use, cast to an Action so it's usable.