Commit 2364463c authored by Ole Christian Eidheim's avatar Ole Christian Eidheim
Browse files

Slight optimization of clangmm::Tokens::Tokens

parent e8f8a04f
......@@ -75,6 +75,8 @@ clangmm::Tokens::Tokens(CXTranslationUnit &cx_tu, const SourceRange &range, bool
}
return CXChildVisit_Recurse;
}, &data);
if(invalid_tokens.empty())
break;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment