Home
last modified time | relevance | path

Searched refs:get_tu (Results 1 – 8 of 8) sorted by relevance

/external/clang/bindings/python/tests/cindex/
Dtest_cursor.py10 from .util import get_tu
33 tu = get_tu(kInput)
73 tu = get_tu('int x;')
90 tu = get_tu(source)
103 tu = get_tu(source, lang='cpp')
118 tu = get_tu(source, lang='cpp')
137 tu = get_tu(source, lang='cpp')
153 tu = get_tu(source, lang='cpp')
167 tu = get_tu(source, lang='cpp')
183 tu = get_tu(source, lang='cpp')
[all …]
Dtest_type.py8 from .util import get_tu
28 tu = get_tu(kInput)
82 tu = get_tu('int x;')
105 tu = get_tu(constarrayInput)
119 tu = get_tu(source)
137 tu = get_tu('int c[5]; void f(int i[]); int x; int v[x];')
153 tu = get_tu('int a;')
161 tu = get_tu('void f(int, int);')
185 tu = get_tu('void f(int, int);')
197 tu = get_tu('void f(int, int);')
[all …]
Dtest_diagnostics.py2 from .util import get_tu
7 tu = get_tu('int f0() {}\n')
17 tu = get_tu('#define A x\nvoid *A = 1;\n')
29 tu = get_tu('struct { int f0; } x = { f0 : 1 };')
43 tu = get_tu('void f() { int i = "a" + 1; }')
64 tu = get_tu('int f(int i) { return 7; }', all_warnings=True)
77 tu = get_tu('int f(int i) { return 7; }', all_warnings=True)
85 tu = get_tu('void f(int x) {} void g() { f(); }')
Dtest_translation_unit.py15 from .util import get_tu
26 tu = get_tu(path)
105 tu = get_tu('int foo();')
115 tu = get_tu('int foo();')
130 tu = get_tu('int foo();')
157 tu = get_tu('int foo();')
173 tu = get_tu('int foo();')
189 tu = get_tu('int foo();')
220 tu = get_tu('int foo();')
Dtest_location.py6 from .util import get_tu
16 tu = get_tu(baseInput)
27 tu = get_tu('\n' + baseInput)
38 tu = get_tu(' ' + baseInput)
47 tu = get_tu(baseInput)
73 tu = get_tu(baseInput)
Dtest_tokens.py9 from .util import get_tu
13 tu = get_tu('int i = 5;')
28 tu = get_tu('int foo = 10;')
42 tu = get_tu('int foo = 10;')
Dtest_access_specifiers.py7 from .util import get_tu
12 tu = get_tu("""
Dutil.py6 def get_tu(source, lang='c', all_warnings=False, flags=[]): function