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
......@@ -173,6 +173,9 @@ public:
bool checkDeclaration(SimpleDeclarationAST *declaration) const
if (! declaration->semicolon_token)
return false;
if (! declaration->decl_specifier_list)
return false;
Supports Markdown
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