mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
6009665334
commit
2f32c523f5
1 changed files with 2 additions and 1 deletions
|
@ -159,9 +159,10 @@ public class DOMCompletionProposalComputer extends ParsingBasedProposalComputer
|
|||
IASTName[] names = completionNode.getNames();
|
||||
|
||||
for (IASTName name : names) {
|
||||
if (name.getTranslationUnit() == null)
|
||||
if (name.getTranslationUnit() == null) {
|
||||
// The node isn't properly hooked up, must have backtracked out of this node.
|
||||
continue;
|
||||
}
|
||||
|
||||
IASTCompletionContext astContext = name.getCompletionContext();
|
||||
if (astContext == null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue