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