HomeSort by relevance Sort by last modified time
    Searched defs:TranslationUnit (Results 1 - 7 of 7) sorted by null

  /external/clang/bindings/python/tests/cindex/
test_code_completion.py 1 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)
util.py 4 from clang.cindex import TranslationUnit
30 return TranslationUnit.from_source(name, args, unsaved_files=[(name,
38 TranslationUnit or Cursor instance.
65 TranslationUnit or Cursor instance.
test_cursor.py 4 from clang.cindex import TranslationUnit
77 """Ensure that references to TranslationUnit are kept."""
83 assert isinstance(cursor.translation_unit, TranslationUnit)
88 assert isinstance(cursor.translation_unit, TranslationUnit)
test_type.py 4 from clang.cindex import TranslationUnit
80 """Ensure that a Type maintains a reference to a TranslationUnit."""
89 assert isinstance(t.translation_unit, TranslationUnit)
91 # Delete main TranslationUnit reference and force a GC.
94 assert isinstance(t.translation_unit, TranslationUnit)
test_translation_unit.py 11 from clang.cindex import TranslationUnit
19 tu = TranslationUnit.from_source(path)
31 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi'])
38 tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi'])
45 tu = TranslationUnit.from_source('fake.c', ['-I./'], unsaved_files = [
61 tu = TranslationUnit.from_source('fake.c', unsaved_files = [
86 tu = TranslationUnit.from_source(src)
91 """Convenience API to save a TranslationUnit to a file.
109 """Ensure TranslationUnit.save() works."""
143 tu2 = TranslationUnit.from_ast_file(filename=path
    [all...]
  /external/clang/bindings/python/clang/
cindex.py 31 TranslationUnit
81 """Represents an error that occurred when loading a TranslationUnit.
83 This is raised in the case where a TranslationUnit could not be
91 """Represents an error that occurred when saving a TranslationUnit.
103 # should be available via the TranslationUnit's diagnostics.
113 raise Exception("Encountered undefined TranslationUnit save error "
191 tu -- TranslationUnit file belongs to
    [all...]
  /external/clang/include/clang-c/
Index.h     [all...]

Completed in 581 milliseconds