[PATCH] D148919: [Clang][Sema] Fix invalid cast when validating SVE types within CheckVariableDeclarationType.

Paul Walker via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 21 05:43:53 PDT 2023


paulwalker-arm added reviewers: dmgreen, sdesmalen.
paulwalker-arm added a comment.

This is not my area so I don't know if replacing `isFunctionOrMethod()` rather than just extending the if clause is a bad idea, but all the tests still pass including the new one that would trigger an assert prior to this change.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148919



More information about the cfe-commits mailing list