AaronBallman wrote:

>     * We should emit the warning at each point of use so that each use is 
> diagnosed and we can filter out unactionable inclusions with 
> -Wno-system-headers as usual

This doesn't behave like other deprecations then. e.g., 
https://godbolt.org/z/9nzcMoW75

I think headers should probably follow suit in that a deprecated heading 
including another deprecated header doesn't warn about that case.

https://github.com/llvm/llvm-project/pull/168041
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to