diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-10-07 09:12:36 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-10-11 15:55:02 +0100 |
commit | 5505a9eab9bc3b170fc9f22e8a7292464efe88f6 (patch) | |
tree | 7a107103ad8cf23fe3eff7246432d5a98503db5a /gcc/tree-vect-patterns.c | |
parent | b292746ff7cfe708d3311ea41242c44ccbbe2693 (diff) | |
download | gcc-5505a9eab9bc3b170fc9f22e8a7292464efe88f6.zip gcc-5505a9eab9bc3b170fc9f22e8a7292464efe88f6.tar.gz gcc-5505a9eab9bc3b170fc9f22e8a7292464efe88f6.tar.bz2 |
testsuite, Objective-C : Fix two plugin diagnostics tests for Darwin.
The @selector and @protocol keywords produce a var decl without
useful location information. The current diagnostics plugin does not
look at VAR_DECLs (and it would not be helpful if it did in this
case, since a single decl is shared across all the users).
However, ee can, in this case, make expressions that produce useful
information.
gcc/testsuite/ChangeLog:
* objc.dg/plugin/diagnostic-test-expressions-1.m: Use assignment
expressions for @selector and @protocol to obtain a useful
diagnostic range.
Diffstat (limited to 'gcc/tree-vect-patterns.c')
0 files changed, 0 insertions, 0 deletions