Open llvmbot opened 11 years ago
Since you mentioned C++, I tried a C version of the same code and it behaved the same (no issues reported with checker-272, but 2 with checker-273).
Cloned to rdar://problem/13795277
Hm. Recent checker builds have cracked down a bit on C++ reinterpret_cast within a class hierarchy, but I suppose this should work for a couple of reasons:
assigned to @tkremenek
Extended Description
I'm getting an incorrect "dereference of undefined pointer value" warning using checker-273 that didn't occur with checker-272.
Running "scan-build c++ -c bug48.cpp" produces 2 incorrect warnings.
The analysis takes a path where "token->use48" is true in the first "if" and false in the second "if" (and vice-versa) but that's not possible.