reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
7142 verifyIndependentOfContext("f(a, *a);"); 7144 verifyIndependentOfContext("int a = b * 10;"); 7145 verifyIndependentOfContext("int a = 10 * b;"); 7146 verifyIndependentOfContext("int a = b * c;"); 7147 verifyIndependentOfContext("int a += b * c;"); 7148 verifyIndependentOfContext("int a -= b * c;"); 7149 verifyIndependentOfContext("int a *= b * c;"); 7150 verifyIndependentOfContext("int a /= b * c;"); 7151 verifyIndependentOfContext("int a = *b;"); 7152 verifyIndependentOfContext("int a = *b * c;"); 7153 verifyIndependentOfContext("int a = b * *c;"); 7154 verifyIndependentOfContext("int a = b * (10);"); 7155 verifyIndependentOfContext("S << b * (10);"); 7156 verifyIndependentOfContext("return 10 * b;"); 7157 verifyIndependentOfContext("return *b * *c;"); 7158 verifyIndependentOfContext("return a & ~b;"); 7159 verifyIndependentOfContext("f(b ? *c : *d);"); 7160 verifyIndependentOfContext("int a = b ? *c : *d;"); 7161 verifyIndependentOfContext("*b = a;"); 7162 verifyIndependentOfContext("a * ~b;"); 7163 verifyIndependentOfContext("a * !b;"); 7164 verifyIndependentOfContext("a * +b;"); 7165 verifyIndependentOfContext("a * -b;"); 7166 verifyIndependentOfContext("a * ++b;"); 7167 verifyIndependentOfContext("a * --b;"); 7168 verifyIndependentOfContext("a[4] * b;"); 7169 verifyIndependentOfContext("a[a * a] = 1;"); 7170 verifyIndependentOfContext("f() * b;"); 7171 verifyIndependentOfContext("a * [self dostuff];"); 7172 verifyIndependentOfContext("int x = a * (a + b);"); 7173 verifyIndependentOfContext("(a *)(a + b);"); 7174 verifyIndependentOfContext("*(int *)(p & ~3UL) = 0;"); 7175 verifyIndependentOfContext("int *pa = (int *)&a;"); 7176 verifyIndependentOfContext("return sizeof(int **);"); 7177 verifyIndependentOfContext("return sizeof(int ******);"); 7178 verifyIndependentOfContext("return (int **&)a;"); 7179 verifyIndependentOfContext("f((*PointerToArray)[10]);"); 7183 verifyIndependentOfContext("Type **A = static_cast<Type **>(P);"); 7192 verifyIndependentOfContext("typedef void (*f)(int *a);"); 7193 verifyIndependentOfContext("int i{a * b};"); 7194 verifyIndependentOfContext("aaa && aaa->f();"); 7195 verifyIndependentOfContext("int x = ~*p;"); 7203 verifyIndependentOfContext("bool a = f() && override.f();"); 7204 verifyIndependentOfContext("bool a = f() && final.f();"); 7206 verifyIndependentOfContext("InvalidRegions[*R] = 0;"); 7208 verifyIndependentOfContext("A<int *> a;"); 7209 verifyIndependentOfContext("A<int **> a;"); 7210 verifyIndependentOfContext("A<int *, int *> a;"); 7211 verifyIndependentOfContext("A<int *[]> a;"); 7212 verifyIndependentOfContext( 7214 verifyIndependentOfContext("A<int **, int **> a;"); 7215 verifyIndependentOfContext("void f(int *a = d * e, int *b = c * d);"); 7257 verifyIndependentOfContext("a = *(x + y);"); 7258 verifyIndependentOfContext("a = &(x + y);"); 7259 verifyIndependentOfContext("*(x + y).call();"); 7260 verifyIndependentOfContext("&(x + y)->call();"); 7263 verifyIndependentOfContext("f(b * /* confusing comment */ ++c);"); 7270 verifyIndependentOfContext("if (int *a = &b)"); 7271 verifyIndependentOfContext("if (int &a = *b)"); 7272 verifyIndependentOfContext("if (a & b[i])"); 7273 verifyIndependentOfContext("if constexpr (a & b[i])"); 7274 verifyIndependentOfContext("if CONSTEXPR (a & b[i])"); 7275 verifyIndependentOfContext("if (a * (b * c))"); 7276 verifyIndependentOfContext("if constexpr (a * (b * c))"); 7277 verifyIndependentOfContext("if CONSTEXPR (a * (b * c))"); 7278 verifyIndependentOfContext("if (a::b::c::d & b[i])"); 7279 verifyIndependentOfContext("if (*b[i])"); 7280 verifyIndependentOfContext("if (int *a = (&b))"); 7281 verifyIndependentOfContext("while (int *a = &b)"); 7282 verifyIndependentOfContext("while (a * (b * c))"); 7283 verifyIndependentOfContext("size = sizeof *a;"); 7284 verifyIndependentOfContext("if (a && (b = c))"); 7299 verifyIndependentOfContext("A = new SomeType *[Length];"); 7300 verifyIndependentOfContext("A = new SomeType *[Length]();"); 7301 verifyIndependentOfContext("T **t = new T *;"); 7302 verifyIndependentOfContext("T **t = new T *();"); 7341 verifyIndependentOfContext("MACRO(int *i);"); 7342 verifyIndependentOfContext("MACRO(auto *a);"); 7343 verifyIndependentOfContext("MACRO(const A *a);"); 7344 verifyIndependentOfContext("MACRO(A *const a);"); 7345 verifyIndependentOfContext("MACRO('0' <= c && c <= '9');"); 7487 verifyIndependentOfContext("A<int &&> a;"); 7488 verifyIndependentOfContext("A<int &&, int &&> a;");