jhuber6 added a comment.

Just realized this is probably going to be a bit more painful. the attribute 
propagation pass requires a `CodeGenModule` which isn't built without an 
`ASTContext` so it's not available here. Nothing those functions do explicitly 
requires the full `CGM`, they only use the options and the target info. So it's 
possible to make these functions more generic using only the `CompilerInstance` 
instead, but it'll be a lot nosier.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152391

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

Reply via email to