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