From dc552feeb0ebcd0656db19d08a99b6a3200018fa Mon Sep 17 00:00:00 2001 From: eidheim Date: Sat, 23 Dec 2017 08:40:56 +0100 Subject: [PATCH] Fixes Source->Find Documentation for g++ headers --- src/source_clang.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source_clang.cc b/src/source_clang.cc index 4789e7d..d63f488 100644 --- a/src/source_clang.cc +++ b/src/source_clang.cc @@ -1517,7 +1517,7 @@ Source::ClangViewRefactor::ClangViewRefactor(const boost::filesystem::path &file auto it=data.end(); do { auto token_spelling=cursor.get_token_spelling(); - if(!token_spelling.empty() && token_spelling!="__1") { + if(!token_spelling.empty() && token_spelling!="__1" && token_spelling.compare(0, 5, "__cxx")!=0) { it=data.emplace(it, token_spelling); if(symbol.empty()) symbol=token_spelling;