We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d84ccf4 commit ef7afc9Copy full SHA for ef7afc9
1 file changed
lib/tokenize.cpp
@@ -2998,6 +2998,9 @@ bool Tokenizer::simplifyUsing()
2998
if (!usingEnd)
2999
continue;
3000
3001
+ for (Token *typeTok = start; typeTok != usingEnd; typeTok = typeTok->next())
3002
+ typeTok->isSimplifiedTypedef(true);
3003
+
3004
// Move struct defined in using out of using.
3005
// using T = struct t { }; => struct t { }; using T = struct t;
3006
// fixme: this doesn't handle attributes
0 commit comments