Community
Participate
Working Groups
Build Identifier: 20110615-0604 The C++ code analyzer reports that the symbol 'var' could not be resolved in the following statement: if (VariableDefn * var = dyn_cast<VariableDefn>(*it)) { // etc... } This appears to affect every case of a variable being declared in a conditional expression. Reproducible: Always
I can't reproduce that error. Can you provide a single standalone .cpp file which would show the problem?
This has since been fixed (see bug 362976).
*** This bug has been marked as a duplicate of bug 362976 ***