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)
104 tu = get_tu(source, lang='cpp')
117 tu = get_tu('typedef int foo;')
133 tu = get_tu(kParentTest, 'cpp')
141 tu = get_tu(kParentTest, 'cpp')
150 tu = get_tu('enum TEST { FOO=1, BAR=2 };')
159 tu = get_tu('enum TEST : long long { FOO=1, BAR=2 };', 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]; 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)
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