Home
last modified time | relevance | path

Searched refs:get_tu (Results 1 – 19 of 19) 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
/external/llvm-project/clang/bindings/python/tests/cindex/
Dtest_cursor.py17 from .util import get_tu
58 tu = get_tu(kInput)
98 tu = get_tu('int x;')
115 tu = get_tu(source)
128 tu = get_tu(source, lang='cpp')
143 tu = get_tu(source, lang='cpp')
162 tu = get_tu(source, lang='cpp')
178 tu = get_tu(source, lang='cpp')
192 tu = get_tu(source, lang='cpp')
208 tu = get_tu(source, lang='cpp')
[all …]
Dtest_type.py13 from .util import get_tu
43 tu = get_tu(kInput)
119 tu = get_tu('int x;')
137 tu = get_tu(constarrayInput)
151 tu = get_tu(source)
169 tu = get_tu('int c[5]; void f(int i[]); int x; int v[x];')
185 tu = get_tu('int a;')
193 tu = get_tu('void f(int, int);')
216 tu = get_tu('void f(int, int);')
228 tu = get_tu('void f(int, int);')
[all …]
Dtest_diagnostics.py7 from .util import get_tu
17 tu = get_tu('int f0() {}\n')
27 tu = get_tu('#define A x\nvoid *A = 1;\n')
39 tu = get_tu('struct { int f0; } x = { f0 : 1 };')
54 tu = get_tu('void f() { int i = "a"; }')
72 tu = get_tu('int f(int i) { return 7; }', all_warnings=True)
85 tu = get_tu('int f(int i) { return 7; }', all_warnings=True)
93 tu = get_tu('void f(int x) {} void g() { f(); }')
106 tu = get_tu('struct MissingSemicolon{}')
Dtest_tls_kind.py11 from .util import get_tu
20 tu = get_tu("""
40 tu = get_tu("""
49 tu = get_tu("""
Dtest_translation_unit.py23 from .util import get_tu
61 tu = get_tu(path)
162 tu = get_tu('int foo();')
172 tu = get_tu('int foo();')
181 tu = get_tu('int foo();')
195 tu = get_tu('int foo();')
214 tu = get_tu('int foo();')
235 tu = get_tu('int foo();')
248 tu = get_tu('int foo();')
260 tu = get_tu('int foo();')
[all …]
Dtest_location.py11 from .util import get_tu
26 tu = get_tu(baseInput)
37 tu = get_tu('\n' + baseInput)
48 tu = get_tu(' ' + baseInput)
57 tu = get_tu(baseInput)
83 tu = get_tu(baseInput)
Dtest_tokens.py12 from .util import get_tu
20 tu = get_tu('int i = 5;')
35 tu = get_tu('int foo = 10;')
49 tu = get_tu('int foo = 10;')
Dtest_exception_specification_kind.py8 from .util import get_tu
27 tu = get_tu(source, lang='cpp', flags=['-std=c++14'])
Dtest_access_specifiers.py11 from .util import get_tu
20 tu = get_tu("""
Dtest_linkage.py11 from .util import get_tu
20 tu = get_tu("""
Dutil.py16 def get_tu(source, lang='c', all_warnings=False, flags=[]): function