[PATCH] D87030: Adapt CastExpr::getSubExprAsWritten to ConstantExpr

Stephan Bergmann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 2 07:33:28 PDT 2020


sberg added a comment.

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.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87030/new/

https://reviews.llvm.org/D87030



More information about the cfe-commits mailing list