mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Removed use of a deprecated class.
This commit is contained in:
parent
34dd5e451f
commit
6ce6a419c8
1 changed files with 1 additions and 3 deletions
|
@ -355,7 +355,6 @@ public class NodeContainer {
|
|||
|
||||
for (NameInformation nameInf : names) {
|
||||
if (!declarations.contains(nameInf.getDeclaration())) {
|
||||
|
||||
declarations.add(nameInf.getDeclaration());
|
||||
if (nameInf.isUsedAfterReferences()) {
|
||||
usedAfter.add(nameInf);
|
||||
|
@ -375,8 +374,7 @@ public class NodeContainer {
|
|||
if (!declarations.contains(nameInf.getDeclaration())) {
|
||||
|
||||
declarations.add(nameInf.getDeclaration());
|
||||
if (nameInf.isUserSetIsReference()
|
||||
|| nameInf.isUserSetIsReturnValue()) {
|
||||
if (nameInf.isUserSetIsReference() || nameInf.isUserSetIsReturnValue()) {
|
||||
usedAfter.add(nameInf);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue