iains added a comment.

as noted before, IMO this is all a bit tangled at the moment.

Probably, a good start would be to make the driver and the FE behave the same 
way for the flags -- at the moment C++20 jams on fmodules and fcxx-modules 
(meaning that there's no way to decouple them in the FE) - however the driver 
still recognises them as distinct.

AFAIU, we all agree that the end game should be that we can clearly define 
which flags are relevant to each "modules mode" .. but we're some way away from 
that , and trying to move in small steps that does not  break stuff.

I see tests that have stuff like -fmodules -fmodule-ts .. but I am not sure 
what "modules mode" that really means? (and some combinations are actually not 
really doing anything, because of the jamming  on from c++20)

sorry .. this is not in any way a solution - but more a statement that the 
problem is quite knotty.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120540

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

Reply via email to