@ -1502,12 +1502,9 @@ Source::ClangViewRefactor::ClangViewRefactor(const boost::filesystem::path &file
if(!cursor) {
auto identifier=get_identifier();
if(identifier) {
cursor=identifier.cursor.get_definition();
if(!cursor)
if(identifier)
cursor=identifier.cursor.get_canonical();
}
if(cursor) {
data.emplace_back("clang");