We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ea01c5 commit 2600deeCopy full SHA for 2600dee
1 file changed
lib/forwardanalyzer.cpp
@@ -232,6 +232,11 @@ struct ForwardTraversal {
232
for (Token* tok = start; tok && tok != end; tok = tok->next()) {
233
Token* next = nullptr;
234
235
+ if (tok->str() == "(" && tok->isCast()) {
236
+ tok = tok->link();
237
+ continue;
238
+ }
239
+
240
// Evaluate RHS of assignment before LHS
241
if (Token* assignTok = assignExpr(tok)) {
242
if (updateRecursive(assignTok->astOperand2()) == Progress::Break)
0 commit comments