llvm-project
llvm-project copied to clipboard
Assertion with pointers to anonymous member variables.
| Bugzilla Link | 25524 |
| Version | trunk |
| OS | All |
| Attachments | test case |
Extended Description
Using latest clang on trunk: https://llvm.org/svn/llvm-project/cfe/trunk@253016
The attached test case causes clang to assert given the following options:
$> clang -cc1 -analyze "-analyzer-checker=core" "trim.cpp"
UNREACHABLE executed at <...>\llvm\tools\clang\lib\StaticAnalyzer\Core\ExprEngine.cpp:1954!
I have tested that this happen with both Release and Debug builds on Windows but only in Debug builds on Linux. The issue seem also present in clang 3.6.
assigned to @tkremenek