Home
last modified time | relevance | path

Searched refs:str_to_path (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/bindings/python/tests/cindex/
H A Dtest_code_completion.py10 from .util import str_to_path
50 files = [(str_to_path('fake.c'), """
62 tu = TranslationUnit.from_source(str_to_path('fake.c'), ['-std=c99'], unsaved_files=files,
65 …cr = tu.codeComplete(str_to_path('fake.c'), 9, 1, unsaved_files=files, include_brief_comments=True)
H A Dtest_translation_unit.py25 from .util import str_to_path
49 tu.save(str_to_path(t.name))
108 tu = TranslationUnit.from_source(str_to_path('fake.c'), ['-Iincludes'], unsaved_files = [
109 (str_to_path('fake.c'), """
114 (str_to_path('includes/fake.h'), """
217 tu2 = TranslationUnit.from_ast_file(filename=str_to_path(path))
250 f = tu.get_file(str_to_path('t.c'))
255 f = tu.get_file(str_to_path('foobar.cpp'))
H A Dtest_cdb.py15 from .util import str_to_path
54 cdb = CompilationDatabase.fromDirectory(str_to_path(kInputsDir))
55 cmds = cdb.getCompileCommands(str_to_path('/home/john.doe/MyProject/project.cpp'))
H A Dutil.py7 from pathlib import Path as str_to_path unknown
9 str_to_path = None variable