Home
last modified time | relevance | path

Searched refs:from_source (Results 1 – 5 of 5) 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/clang/bindings/python/clang/
Dcindex.py2209 return TranslationUnit.from_source(path, args, unsaved_files, options,
2252 def from_source(cls, filename, args=None, unsaved_files=None, options=0, member in TranslationUnit