mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56: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();
|
IASTName[] names = completionNode.getNames();
|
||||||
|
|
||||||
for (IASTName name : names) {
|
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.
|
// The node isn't properly hooked up, must have backtracked out of this node.
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
IASTCompletionContext astContext = name.getCompletionContext();
|
IASTCompletionContext astContext = name.getCompletionContext();
|
||||||
if (astContext == null) {
|
if (astContext == null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue