/external/clang/bindings/python/tests/cindex/ |
D | test_translation_unit.py | 13 from clang.cindex import TranslationUnit 21 tu = TranslationUnit.from_source(path) 33 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi']) 40 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi']) 47 tu = TranslationUnit.from_source('fake.c', ['-I./'], unsaved_files = [ 63 tu = TranslationUnit.from_source('fake.c', unsaved_files = [ 88 tu = TranslationUnit.from_source(src) 137 tu2 = TranslationUnit.from_ast_file(filename=path) 152 assert isinstance(tu, TranslationUnit) 240 tu = TranslationUnit.from_source(path) [all …]
|
D | test_code_completion.py | 1 from clang.cindex import TranslationUnit 25 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files, 26 options=TranslationUnit.PARSE_INCLUDE_BRIEF_COMMENTS_IN_CODE_COMPLETION) 55 tu = TranslationUnit.from_source('fake.cpp', ['-std=c++98'], unsaved_files=files)
|
D | test_comment.py | 1 from clang.cindex import TranslationUnit 18 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files, 19 options=TranslationUnit.PARSE_INCLUDE_BRIEF_COMMENTS_IN_CODE_COMPLETION)
|
D | util.py | 4 from clang.cindex import TranslationUnit 30 return TranslationUnit.from_source(name, args, unsaved_files=[(name,
|
D | test_index.py | 15 assert isinstance(tu, TranslationUnit)
|
D | test_cursor.py | 6 from clang.cindex import TranslationUnit 78 assert isinstance(cursor.translation_unit, TranslationUnit) 83 assert isinstance(cursor.translation_unit, TranslationUnit)
|
D | test_access_specifiers.py | 4 from clang.cindex import TranslationUnit
|
D | test_type.py | 4 from clang.cindex import TranslationUnit 89 assert isinstance(t.translation_unit, TranslationUnit) 94 assert isinstance(t.translation_unit, TranslationUnit)
|
/external/clang/tools/libclang/ |
D | CXComment.h | 35 Result.TranslationUnit = TU; in createCXComment() 53 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext(); in getASTContext()
|
D | CXComment.cpp | 106 return createCXComment(*(C->child_begin() + ChildIdx), CXC.TranslationUnit); in clang_Comment_getChild() 258 return createCXComment(BCC->getParagraph(), CXC.TranslationUnit); in clang_BlockCommandComment_getParagraph() 370 CXTranslationUnit TU = CXC.TranslationUnit; in clang_HTMLTagComment_getAsString() 385 CXTranslationUnit TU = CXC.TranslationUnit; in clang_FullComment_getAsHTML() 400 CXTranslationUnit TU = CXC.TranslationUnit; in clang_FullComment_getAsXML()
|
D | CIndexCodeCompletion.cpp | 532 CXTranslationUnit *TranslationUnit) in CaptureCompletionResults() argument 535 TU(TranslationUnit) { } in CaptureCompletionResults()
|
D | CIndex.cpp | 5270 case Decl::TranslationUnit: in clang_getCursorDefinition()
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 1544 if isinstance(arg, TranslationUnit): 2225 return TranslationUnit.from_ast_file(path, self) 2240 return TranslationUnit.from_source(path, args, unsaved_files, options, 2243 class TranslationUnit(ClangObject): class 2846 [TranslationUnit, POINTER(Token), c_uint, POINTER(Cursor)]), 2892 [TranslationUnit, c_char_p, c_int, c_int, c_void_p, c_int, c_int], 2932 [TranslationUnit], 2951 [TranslationUnit, POINTER(Token), c_uint]), 2954 [TranslationUnit]), 3029 [TranslationUnit, SourceLocation], [all …]
|
/external/clang/lib/Serialization/ |
D | ASTCommon.cpp | 210 case Decl::TranslationUnit: in getDefinitiveDeclContext() 267 case Decl::TranslationUnit: in isRedeclarableDeclKind()
|
/external/clang/include/clang-c/ |
D | Documentation.h | 39 CXTranslationUnit TranslationUnit; member
|
/external/clang/include/clang/Basic/ |
D | DeclNodes.td | 13 def TranslationUnit : Decl, DeclContext;
|
/external/clang/include/clang/Analysis/ |
D | AnalysisContext.h | 41 namespace idx { class TranslationUnit; } variable
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 638 case TranslationUnit: in getIdentifierNamespaceForKind() 922 while (DC->getDeclKind() != Decl::TranslationUnit) { in isLinkageSpecContext() 950 case Decl::TranslationUnit: in getPrimaryContext()
|
D | Decl.cpp | 48 : Decl(TranslationUnit, nullptr, SourceLocation()), in TranslationUnitDecl() 49 DeclContext(TranslationUnit), Ctx(ctx), AnonymousNamespace(nullptr) { in TranslationUnitDecl() 302 while (DC->getDeclKind() != Decl::TranslationUnit) { in getOutermostFuncOrBlockContext()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 201 case Decl::TranslationUnit: in PrintDeclContext()
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 1261 return DeclKind == Decl::TranslationUnit || DeclKind == Decl::Namespace; in isFileContext() 1265 return DeclKind == Decl::TranslationUnit; in isTranslationUnit()
|
D | Decl.h | 97 static bool classofKind(Kind K) { return K == TranslationUnit; } in classofKind()
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 39 case Decl::TranslationUnit: in EmitDecl()
|
/external/lldb/source/Plugins/SymbolFile/DWARF/ |
D | SymbolFileDWARF.cpp | 7864 case clang::Decl::TranslationUnit: in FindExternalVisibleDeclsByName()
|
/external/clang/lib/Sema/ |
D | SemaCodeComplete.cpp | 3052 case Decl::TranslationUnit: return CXCursor_TranslationUnit; in getCursorKindForDecl()
|