Code style fixes
This commit is contained in:
parent
f25bf2f6c8
commit
7f676f85ae
@ -272,9 +272,11 @@ Location ClangCompleter::GetDeclarationLocation(
|
|||||||
filename,
|
filename,
|
||||||
unsaved_files,
|
unsaved_files,
|
||||||
flags );
|
flags );
|
||||||
|
|
||||||
if ( !unit ) {
|
if ( !unit ) {
|
||||||
return Location();
|
return Location();
|
||||||
}
|
}
|
||||||
|
|
||||||
return unit->GetDeclarationLocation( line, column, unsaved_files );
|
return unit->GetDeclarationLocation( line, column, unsaved_files );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -289,9 +291,11 @@ Location ClangCompleter::GetDefinitionLocation(
|
|||||||
filename,
|
filename,
|
||||||
unsaved_files,
|
unsaved_files,
|
||||||
flags );
|
flags );
|
||||||
|
|
||||||
if ( !unit ) {
|
if ( !unit ) {
|
||||||
return Location();
|
return Location();
|
||||||
}
|
}
|
||||||
|
|
||||||
return unit->GetDefinitionLocation( line, column, unsaved_files );
|
return unit->GetDefinitionLocation( line, column, unsaved_files );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user