1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 560846 - Allow shallow copy check in implementation files too

Change-Id: I3a9075a47f0c0cd557dd24e7c7be5d2dec23a1a6
This commit is contained in:
Marco Stornelli 2020-03-07 09:04:18 +01:00
parent 65eee1c0b0
commit dbbcb20dec

View file

@ -63,8 +63,6 @@ public class ShallowCopyChecker extends AbstractIndexAstChecker {
if (fOnlyNew) {
ast.accept(new OnlyNewVisitor());
} else {
if (!ast.isHeaderUnit())
return;
ast.accept(new AllPtrsVisitor());
}
}