Searched refs:from_source (Results 1 – 11 of 11) sorted by relevance
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)240 tu = TranslationUnit.from_source(path)
25 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files,55 tu = TranslationUnit.from_source('fake.cpp', ['-std=c++98'], unsaved_files=files)
18 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files,
30 return TranslationUnit.from_source(name, args, unsaved_files=[(name,
56 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)
36 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)
40 return TranslationUnit.from_source(name, args, unsaved_files=[(name,
27 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files,
1023 ClangExternalASTSourceCallbacks &from_source, in RemapModule() argument1027 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() local1050 if (from_source && to_source) { in Imported()1053 RemapModule(from_id, *from_source, *to_source); in Imported()
2294 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
2721 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