Searched refs:get_tu (Results 1 – 19 of 19) sorted by relevance
/external/clang/bindings/python/tests/cindex/ |
D | test_cursor.py | 10 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 …]
|
D | test_type.py | 8 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 …]
|
D | test_diagnostics.py | 2 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(); }')
|
D | test_translation_unit.py | 15 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();')
|
D | test_location.py | 6 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)
|
D | test_tokens.py | 9 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;')
|
D | test_access_specifiers.py | 7 from .util import get_tu 12 tu = get_tu("""
|
D | util.py | 6 def get_tu(source, lang='c', all_warnings=False, flags=[]): function
|
/external/llvm-project/clang/bindings/python/tests/cindex/ |
D | test_cursor.py | 17 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 …]
|
D | test_type.py | 13 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 …]
|
D | test_diagnostics.py | 7 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{}')
|
D | test_tls_kind.py | 11 from .util import get_tu 20 tu = get_tu(""" 40 tu = get_tu(""" 49 tu = get_tu("""
|
D | test_translation_unit.py | 23 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 …]
|
D | test_location.py | 11 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)
|
D | test_tokens.py | 12 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;')
|
D | test_exception_specification_kind.py | 8 from .util import get_tu 27 tu = get_tu(source, lang='cpp', flags=['-std=c++14'])
|
D | test_access_specifiers.py | 11 from .util import get_tu 20 tu = get_tu("""
|
D | test_linkage.py | 11 from .util import get_tu 20 tu = get_tu("""
|
D | util.py | 16 def get_tu(source, lang='c', all_warnings=False, flags=[]): function
|