Browse Source

Cleanup of Source->Find Documentation

merge-requests/365/head
eidheim 8 years ago
parent
commit
bc855041f3
  1. 7
      src/source_clang.cc

7
src/source_clang.cc

@ -1502,11 +1502,8 @@ Source::ClangViewRefactor::ClangViewRefactor(const boost::filesystem::path &file
if(!cursor) {
auto identifier=get_identifier();
if(identifier) {
cursor=identifier.cursor.get_definition();
if(!cursor)
cursor=identifier.cursor.get_canonical();
}
if(identifier)
cursor=identifier.cursor.get_canonical();
}
if(cursor) {

Loading…
Cancel
Save