/external/clang/bindings/python/tests/cindex/ |
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_translation_unit.py | 11 from clang.cindex import TranslationUnit 19 tu = TranslationUnit.from_source(path) 31 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi']) 38 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi']) 45 tu = TranslationUnit.from_source('fake.c', ['-I./'], unsaved_files = [ 61 tu = TranslationUnit.from_source('fake.c', unsaved_files = [ 86 tu = TranslationUnit.from_source(src) 143 tu2 = TranslationUnit.from_ast_file(filename=path) 158 assert isinstance(tu, TranslationUnit)
|
D | util.py | 4 from clang.cindex import TranslationUnit 30 return TranslationUnit.from_source(name, args, unsaved_files=[(name,
|
D | test_cursor.py | 4 from clang.cindex import TranslationUnit 83 assert isinstance(cursor.translation_unit, TranslationUnit) 88 assert isinstance(cursor.translation_unit, 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)
|
D | test_index.py | 15 assert isinstance(tu, TranslationUnit)
|
/external/clang/tools/libclang/ |
D | CXComment.h | 34 Result.TranslationUnit = TU; in createCXComment() 52 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext(); in getASTContext()
|
D | CIndexCodeCompletion.cpp | 535 CXTranslationUnit *TranslationUnit) in CaptureCompletionResults() argument 538 TU(TranslationUnit) { } in CaptureCompletionResults()
|
D | CXComment.cpp | 98 return createCXComment(*(C->child_begin() + ChildIdx), CXC.TranslationUnit); in clang_Comment_getChild() 250 return createCXComment(BCC->getParagraph(), CXC.TranslationUnit); in clang_BlockCommandComment_getParagraph() 1426 CXTranslationUnit TU = CXC.TranslationUnit; in clang_FullComment_getAsXML()
|
D | CIndex.cpp | 4466 case Decl::TranslationUnit: in clang_getCursorDefinition()
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 1328 if isinstance(arg, TranslationUnit): 1891 return TranslationUnit.from_ast(path, self) 1906 return TranslationUnit.from_source(path, args, unsaved_files, options, 1909 class TranslationUnit(ClangObject): class 2503 [TranslationUnit, POINTER(Token), c_uint, POINTER(Cursor)]), 2544 [TranslationUnit, c_char_p, c_int, c_int, c_void_p, c_int, c_int], 2572 [TranslationUnit], 2591 [TranslationUnit, POINTER(Token), c_uint]), 2594 [TranslationUnit]), 2665 [TranslationUnit, SourceLocation], [all …]
|
/external/clang/lib/Serialization/ |
D | ASTCommon.cpp | 95 case Decl::TranslationUnit: in getDefinitiveDeclContext() 150 case Decl::TranslationUnit: // Special case of a "merged" declaration. in isRedeclarableDeclKind()
|
/external/clang/include/clang/Basic/ |
D | DeclNodes.td | 13 def TranslationUnit : Decl, DeclContext;
|
/external/clang/docs/ |
D | IntroductionToTheClangAST.rst | 48 <TranslationUnit ptr="0x4871160"> 74 </TranslationUnit>
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 554 case TranslationUnit: in getIdentifierNamespaceForKind() 804 while (DC->DeclKind != Decl::TranslationUnit) { in isExternCContext() 815 while (DC->DeclKind != Decl::TranslationUnit) { in isExternCXXContext() 836 case Decl::TranslationUnit: in getPrimaryContext()
|
/external/clang/include/clang/Analysis/ |
D | AnalysisContext.h | 45 namespace idx { class TranslationUnit; } variable
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 188 case Decl::TranslationUnit: in PrintDeclContext()
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 1051 return DeclKind == Decl::TranslationUnit || DeclKind == Decl::Namespace; in isFileContext() 1055 return DeclKind == Decl::TranslationUnit; in isTranslationUnit()
|
D | Decl.h | 80 : Decl(TranslationUnit, 0, SourceLocation()), in TranslationUnitDecl() 81 DeclContext(TranslationUnit), in TranslationUnitDecl() 92 static bool classofKind(Kind K) { return K == TranslationUnit; } in classofKind()
|
/external/clang/include/clang-c/ |
D | Index.h | 2130 CXTranslationUnit TranslationUnit; member
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 35 case Decl::TranslationUnit: in EmitDecl()
|
/external/clang/lib/Sema/ |
D | SemaCodeComplete.cpp | 2933 case Decl::TranslationUnit: return CXCursor_TranslationUnit; in getCursorKindForDecl()
|
D | SemaDeclCXX.cpp | 6379 case Decl::TranslationUnit: in IsUsingDirectiveInToplevelContext()
|