Searched refs:get_tu (Results 1 – 8 of 8) 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
|