Details
Details
- Reviewers
rsmith - Commits
- rG215ed9b33ccb: Adapt CastExpr::getSubExprAsWritten to ConstantExpr
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I hit this with a call to getSubExprAsWriten from the LibreOffice Clang plugin, have no idea whether it can be hit from within the compiler itself. Not sure if clang/unittests/Tooling/CastExprTest.cpp is the best place to add a test for it.
Comment Actions
Ping; OK to submit? (I meanwhile also get this when compiling some code with plain Clang, not just with the LibreOffice Clang plugin where I saw it originally.)