1
0
Fork 0
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:
Alena Laskavaia 2009-11-21 02:25:12 +00:00
parent 0e300b754c
commit a2908eaedf

View file

@ -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");
}
}