mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
- adjusted ast node for error result
This commit is contained in:
parent
0e300b754c
commit
a2908eaedf
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public class CatchUsesReference extends AbstractIndexAstChecker {
|
|||
for (int i = 0; i < catchHandlers.length; i++) {
|
||||
ICPPASTCatchHandler catchHandler = catchHandlers[i];
|
||||
if (usesReference(catchHandler)) {
|
||||
reportProblem(ER_ID, catchHandler, "Catch clause uses reference in declaration of exception");
|
||||
reportProblem(ER_ID, catchHandler.getDeclaration(), "Catch clause uses reference in declaration of exception");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue