[PATCH] D99893: [WIP] Replace std::forward & std::move by cast expressions during Sema

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 5 12:42:43 PDT 2021


lebedev.ri added a comment.

To be noted, this generally goes against the [current] spirit of the AST,
those were calls in the source code, but they won't be represented as such any longer,
which is likely not very expected by whatever tool that could be consuming the AST.
Though, i'm not sure how much that matters.

I would guess, having clang emit MLIR C++ dialect and not LLVM IR
might allow such transforms without degrading AST,
though i will be surprised if that happens [upstream] soon.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99893



More information about the cfe-commits mailing list