Skip to content
Snippets Groups Projects
Commit e825cbfd authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Active the `split declaration' quickfix op only the declaration has a valid semicolon.

parent 9903b0ae
No related branches found
No related tags found
No related merge requests found
......@@ -173,6 +173,9 @@ public:
bool checkDeclaration(SimpleDeclarationAST *declaration) const
{
if (! declaration->semicolon_token)
return false;
if (! declaration->decl_specifier_list)
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment