Home
last modified time | relevance | path

Searched refs:from_source (Results 1 – 11 of 11) sorted by relevance

/external/clang/bindings/python/tests/cindex/
Dtest_translation_unit.py21 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)
240 tu = TranslationUnit.from_source(path)
Dtest_code_completion.py25 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files,
55 tu = TranslationUnit.from_source('fake.cpp', ['-std=c++98'], unsaved_files=files)
Dtest_comment.py18 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files,
Dutil.py30 return TranslationUnit.from_source(name, args, unsaved_files=[(name,
/external/llvm-project/clang/bindings/python/tests/cindex/
Dtest_translation_unit.py56 tu = TranslationUnit.from_source(path)
68 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi'])
75 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi'])
82 tu = TranslationUnit.from_source('fake.c', ['-I./'], unsaved_files = [
101 tu = TranslationUnit.from_source('fake.c', unsaved_files = [
108 tu = TranslationUnit.from_source(str_to_path('fake.c'), ['-Iincludes'], unsaved_files = [
143 tu = TranslationUnit.from_source(src)
154 … tu = TranslationUnit.from_source(src, options=TranslationUnit.PARSE_DETAILED_PROCESSING_RECORD)
327 tu = TranslationUnit.from_source(path)
Dtest_code_completion.py36 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files,
62 tu = TranslationUnit.from_source(str_to_path('fake.c'), ['-std=c99'], unsaved_files=files,
92 tu = TranslationUnit.from_source('fake.cpp', ['-std=c++98'], unsaved_files=files)
Dutil.py40 return TranslationUnit.from_source(name, args, unsaved_files=[(name,
Dtest_comment.py27 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files,
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangASTImporter.cpp1023 ClangExternalASTSourceCallbacks &from_source, in RemapModule() argument
1027 clang::Module *module = from_source.getModule(from_id.GetValue()); in RemapModule()
1029 from_source.GetIDForModule(module->Parent), from_source, to_source); in RemapModule()
1045 auto *from_source = llvm::dyn_cast_or_null<ClangExternalASTSourceCallbacks>( in Imported() local
1050 if (from_source && to_source) { in Imported()
1053 RemapModule(from_id, *from_source, *to_source); in Imported()
/external/clang/bindings/python/clang/
Dcindex.py2294 return TranslationUnit.from_source(path, args, unsaved_files, options,
2337 def from_source(cls, filename, args=None, unsaved_files=None, options=0, member in TranslationUnit
/external/llvm-project/clang/bindings/python/clang/
Dcindex.py2721 return TranslationUnit.from_source(path, args, unsaved_files, options,
2764 def from_source(cls, filename, args=None, unsaved_files=None, options=0, member in TranslationUnit