/external/clang/bindings/python/tests/cindex/ |
test_cursor.py | 8 from .util import get_tu namespace 34 tu = get_tu(kInput) 78 tu = get_tu('int x;') 95 tu = get_tu(source) 109 tu = get_tu(source, lang='cpp') 122 tu = get_tu('typedef int foo;') 138 tu = get_tu(kParentTest, 'cpp') 146 tu = get_tu(kParentTest, 'cpp') 155 tu = get_tu('enum TEST { FOO=1, BAR=2 };') 164 tu = get_tu('enum TEST : long long { FOO=1, BAR=2 };', lang="cpp" [all...] |
test_tokens.py | 9 from .util import get_tu namespace 13 tu = get_tu('int i = 5;') 28 tu = get_tu('int foo = 10;') 42 tu = get_tu('int foo = 10;')
|
test_type.py | 8 from .util import get_tu namespace 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 a;') 145 tu = get_tu('void f(int, int);') 169 tu = get_tu('void f(int, int);') 181 tu = get_tu('void f(int, int);') 190 tu = get_tu('void f(int, int);' [all...] |
test_diagnostics.py | 2 from .util import get_tu namespace 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)
|
test_location.py | 6 from .util import get_tu namespace 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)
|
test_translation_unit.py | 14 from .util import get_tu namespace 25 tu = get_tu(path) 112 tu = get_tu('int foo();') 122 tu = get_tu('int foo();') 137 tu = get_tu('int foo();') 164 tu = get_tu('int foo();') 180 tu = get_tu('int foo();') 196 tu = get_tu('int foo();') 227 tu = get_tu('int foo();')
|
util.py | 6 def get_tu(source, lang='c', all_warnings=False, flags=[]): function 92 'get_tu',
|