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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to