mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-20 07:25:23 +02:00
Cosmetics.
This commit is contained in:
parent
8c0ea6af0b
commit
a913d61e4f
1 changed files with 13 additions and 13 deletions
|
@ -634,8 +634,8 @@ public class IncludeOrganizer {
|
||||||
for (InclusionRequest request : requests) {
|
for (InclusionRequest request : requests) {
|
||||||
if (!request.isResolved() && !isExportedBinding(request, headerSubstitutor)) {
|
if (!request.isResolved() && !isExportedBinding(request, headerSubstitutor)) {
|
||||||
List<IPath> candidatePaths = request.getCandidatePaths();
|
List<IPath> candidatePaths = request.getCandidatePaths();
|
||||||
Set<IPath> representativeHeaders = new HashSet<IPath>();
|
Set<IPath> representativeHeaders = new HashSet<>();
|
||||||
Set<IPath> representedHeaders = new HashSet<IPath>();
|
Set<IPath> representedHeaders = new HashSet<>();
|
||||||
boolean allRepresented = true;
|
boolean allRepresented = true;
|
||||||
for (IPath path : candidatePaths) {
|
for (IPath path : candidatePaths) {
|
||||||
if (fContext.isIncluded(path)) {
|
if (fContext.isIncluded(path)) {
|
||||||
|
@ -813,7 +813,7 @@ public class IncludeOrganizer {
|
||||||
private List<InclusionRequest> createInclusionRequests(IASTTranslationUnit ast,
|
private List<InclusionRequest> createInclusionRequests(IASTTranslationUnit ast,
|
||||||
Set<IBinding> bindingsToInclude, boolean allowDeclarations,
|
Set<IBinding> bindingsToInclude, boolean allowDeclarations,
|
||||||
IIndexFileSet reachableHeaders) throws CoreException {
|
IIndexFileSet reachableHeaders) throws CoreException {
|
||||||
List<InclusionRequest> requests = new ArrayList<InclusionRequest>(bindingsToInclude.size());
|
List<InclusionRequest> requests = new ArrayList<>(bindingsToInclude.size());
|
||||||
IIndex index = fContext.getIndex();
|
IIndex index = fContext.getIndex();
|
||||||
|
|
||||||
binding_loop: for (IBinding binding : bindingsToInclude) {
|
binding_loop: for (IBinding binding : bindingsToInclude) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue