Home
last modified time | relevance | path

Searched refs:TranslationUnit (Results 1 – 24 of 24) sorted by relevance

/external/clang/include/clang/Index/
DIndexer.h30 class TranslationUnit; variable
35 typedef llvm::SmallPtrSet<TranslationUnit *, 4> TUSetTy;
36 typedef llvm::DenseMap<ASTContext *, TranslationUnit *> CtxTUMapTy;
39 typedef std::map<Entity, std::pair<FunctionDecl*,TranslationUnit*> > DefMapTy;
47 void IndexAST(TranslationUnit *TU);
54 std::pair<FunctionDecl*, TranslationUnit*> getDefinitionFor(Entity Ent);
DHandlers.h23 class TranslationUnit; variable
38 typedef TranslationUnit* receiving_type;
41 virtual void Handle(TranslationUnit *TU) = 0;
DASTLocation.h30 class TranslationUnit; variable
159 TranslationUnit *TU;
162 TULocation(TranslationUnit *tu, ASTLocation astLoc) in TULocation()
167 TranslationUnit *getTU() const { return TU; } in getTU()
DTranslationUnit.h27 class TranslationUnit {
29 virtual ~TranslationUnit();
/external/clang/lib/Index/
DIndexer.cpp26 TranslationUnit *TU;
31 EntityIndexer(TranslationUnit *tu, Indexer::MapTy &map, in EntityIndexer()
49 TranslationUnit *TU;
53 SelectorIndexer(Program &prog, TranslationUnit *tu, Indexer::SelMapTy &map) in SelectorIndexer()
69 void Indexer::IndexAST(TranslationUnit *TU) { in IndexAST()
114 std::pair<FunctionDecl *, TranslationUnit *>
118 return std::make_pair((FunctionDecl *)0, (TranslationUnit *)0); in getDefinitionFor()
DProgram.cpp25 TranslationUnit::~TranslationUnit() { } in ~TranslationUnit()
DAnalyzer.cpp43 virtual void Handle(TranslationUnit *TU) { in Handle()
67 virtual void Handle(TranslationUnit *TU) { in Handle()
123 virtual void Handle(TranslationUnit *TU) { in Handle()
347 virtual void Handle(TranslationUnit *TU) { in Handle()
/external/clang/include/clang/Analysis/
DAnalysisContext.h40 namespace idx { class TranslationUnit; } variable
48 idx::TranslationUnit *TU;
71 AnalysisContext(const Decl *d, idx::TranslationUnit *tu,
82 idx::TranslationUnit *getTranslationUnit() const { return TU; } in getTranslationUnit()
153 AnalysisContext *getContext(const Decl *D, idx::TranslationUnit *TU = 0);
187 idx::TranslationUnit *getTranslationUnit() const { in getTranslationUnit()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAnalysisManager.h26 class TranslationUnit; variable
189 AnalysisContext *getAnalysisContext(const Decl *D, idx::TranslationUnit *TU) { in getAnalysisContext()
202 idx::TranslationUnit *TU) { in getStackFrame()
/external/clang/bindings/python/clang/
Dcindex.py918 return TranslationUnit(ptr) if ptr else None
951 return TranslationUnit(ptr) if ptr else None
954 class TranslationUnit(ClangObject): class
1166 Cursor_get.argtypes = [TranslationUnit, SourceLocation]
1237 TranslationUnit_reparse.argtypes = [TranslationUnit, c_int, c_void_p, c_int]
1241 TranslationUnit_codeComplete.argtypes = [TranslationUnit, c_char_p, c_int,
1246 TranslationUnit_cursor.argtypes = [TranslationUnit]
1251 TranslationUnit_spelling.argtypes = [TranslationUnit]
1256 TranslationUnit_dispose.argtypes = [TranslationUnit]
1263 TranslationUnit_includes.argtypes = [TranslationUnit,
/external/clang/examples/wpa/
Dclang-wpa.cpp50 class ASTUnitTU : public TranslationUnit {
128 TranslationUnit *TU; in main()
/external/clang/bindings/python/tests/cindex/
Dtest_index.py15 assert isinstance(tu, TranslationUnit)
/external/clang/lib/StaticAnalyzer/Core/
DAnalysisManager.cpp22 idx::TranslationUnit *TU; in getAnalysisContextInAnotherTU()
DCoreEngine.cpp786 idx::TranslationUnit *TU = CalleeCtx->getTranslationUnit(); in generateNode()
/external/clang/lib/Analysis/
DAnalysisContext.cpp33 idx::TranslationUnit *tu, in AnalysisContext()
187 idx::TranslationUnit *TU) { in getContext()
/external/clang/include/clang/Basic/
DDeclNodes.td13 def TranslationUnit : Decl, DeclContext;
/external/clang/lib/AST/
DDeclBase.cpp491 case TranslationUnit: in getIdentifierNamespaceForKind()
731 while (DC->DeclKind != Decl::TranslationUnit) { in isExternCContext()
752 case Decl::TranslationUnit: in getPrimaryContext()
/external/clang/lib/Frontend/
DASTConsumers.cpp114 case Decl::TranslationUnit: in PrintDeclContext()
/external/clang/include/clang/AST/
DDeclBase.h906 return DeclKind == Decl::TranslationUnit || DeclKind == Decl::Namespace; in isFileContext()
910 return DeclKind == Decl::TranslationUnit; in isTranslationUnit()
DDecl.h74 : Decl(TranslationUnit, 0, SourceLocation()), in TranslationUnitDecl()
75 DeclContext(TranslationUnit), in TranslationUnitDecl()
87 static bool classofKind(Kind K) { return K == TranslationUnit; } in classofKind()
/external/clang/lib/CodeGen/
DCGDecl.cpp34 case Decl::TranslationUnit: in EmitDecl()
/external/clang/clang.xcodeproj/
Dproject.pbxproj349TranslationUnit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c…
1079 90FD6D6A103C3D21005F5B73 /* TranslationUnit.h */,
/external/clang/lib/Sema/
DSemaDeclCXX.cpp4841 case Decl::TranslationUnit: in IsUsingDirectiveInToplevelContext()
7846 if (Kind != Decl::TranslationUnit && Kind != Decl::Namespace && in CheckLiteralOperatorDeclaration()
/external/clang/tools/libclang/
DCIndex.cpp3988 case Decl::TranslationUnit: in clang_getCursorDefinition()