Home
last modified time | relevance | path

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

12

/external/clang/bindings/python/tests/cindex/
Dtest_translation_unit.py13 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 …]
Dtest_code_completion.py1 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)
Dtest_comment.py1 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)
Dutil.py4 from clang.cindex import TranslationUnit
30 return TranslationUnit.from_source(name, args, unsaved_files=[(name,
Dtest_cursor.py4 from clang.cindex import TranslationUnit
76 assert isinstance(cursor.translation_unit, TranslationUnit)
81 assert isinstance(cursor.translation_unit, TranslationUnit)
Dtest_index.py15 assert isinstance(tu, TranslationUnit)
Dtest_access_specifiers.py4 from clang.cindex import TranslationUnit
Dtest_type.py4 from clang.cindex import TranslationUnit
89 assert isinstance(t.translation_unit, TranslationUnit)
94 assert isinstance(t.translation_unit, TranslationUnit)
/external/clang/tools/libclang/
DCXComment.h35 Result.TranslationUnit = TU; in createCXComment()
53 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext(); in getASTContext()
DCXComment.cpp106 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()
DCIndexCodeCompletion.cpp532 CXTranslationUnit *TranslationUnit) in CaptureCompletionResults() argument
535 TU(TranslationUnit) { } in CaptureCompletionResults()
DCIndex.cpp4755 case Decl::TranslationUnit: in clang_getCursorDefinition()
/external/clang/bindings/python/clang/
Dcindex.py1431 if isinstance(arg, TranslationUnit):
2126 return TranslationUnit.from_ast_file(path, self)
2141 return TranslationUnit.from_source(path, args, unsaved_files, options,
2144 class TranslationUnit(ClangObject): class
2746 [TranslationUnit, POINTER(Token), c_uint, POINTER(Cursor)]),
2792 [TranslationUnit, c_char_p, c_int, c_int, c_void_p, c_int, c_int],
2824 [TranslationUnit],
2843 [TranslationUnit, POINTER(Token), c_uint]),
2846 [TranslationUnit]),
2921 [TranslationUnit, SourceLocation],
[all …]
/external/clang/lib/Serialization/
DASTCommon.cpp95 case Decl::TranslationUnit: in getDefinitiveDeclContext()
151 case Decl::TranslationUnit: // Special case of a "merged" declaration. in isRedeclarableDeclKind()
/external/clang/include/clang-c/
DDocumentation.h39 CXTranslationUnit TranslationUnit; member
/external/clang/include/clang/Basic/
DDeclNodes.td13 def TranslationUnit : Decl, DeclContext;
/external/chromium_org/tools/clang/plugins/
DChromeClassTester.cpp228 case Decl::TranslationUnit: { in GetNamespaceImpl()
/external/clang/include/clang/Analysis/
DAnalysisContext.h40 namespace idx { class TranslationUnit; } variable
/external/clang/lib/AST/
DDeclBase.cpp579 case TranslationUnit: in getIdentifierNamespaceForKind()
857 while (DC->getDeclKind() != Decl::TranslationUnit) { in isLinkageSpecContext()
885 case Decl::TranslationUnit: in getPrimaryContext()
DDecl.cpp291 while (DC->getDeclKind() != Decl::TranslationUnit) { in getOutermostFuncOrBlockContext()
/external/clang/lib/Frontend/
DASTConsumers.cpp192 case Decl::TranslationUnit: in PrintDeclContext()
/external/clang/include/clang/AST/
DDeclBase.h1146 return DeclKind == Decl::TranslationUnit || DeclKind == Decl::Namespace; in isFileContext()
1150 return DeclKind == Decl::TranslationUnit; in isTranslationUnit()
DDecl.h82 : Decl(TranslationUnit, nullptr, SourceLocation()), in TranslationUnitDecl()
83 DeclContext(TranslationUnit), in TranslationUnitDecl()
94 static bool classofKind(Kind K) { return K == TranslationUnit; } in classofKind()
/external/clang/lib/CodeGen/
DCGDecl.cpp36 case Decl::TranslationUnit: in EmitDecl()
/external/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARF.cpp7864 case clang::Decl::TranslationUnit: in FindExternalVisibleDeclsByName()

12