Searched refs:testWalk (Results 1 – 1 of 1) sorted by relevance
20 void testWalk(llvm::StringRef TargetCode, llvm::StringRef ReferencingCode) { in testWalk() function81 testWalk("int ^x;", "int y = ^x;"); in TEST()82 testWalk("int ^foo();", "int y = ^foo();"); in TEST()83 testWalk("namespace ns { int ^x; }", "int y = ns::^x;"); in TEST()84 testWalk("struct S { static int ^x; };", "int y = S::^x;"); in TEST()86 testWalk("extern int ^x; int x;", "int y = ^x;"); in TEST()90 testWalk("struct ^S {};", "^S *y;"); in TEST()91 testWalk("enum ^E {};", "^E *y;"); in TEST()92 testWalk("struct ^S { static int x; };", "int y = ^S::x;"); in TEST()96 testWalk(R"cpp( in TEST()[all …]