https://github.com/cor3ntin commented:
I think we should keep it simple - Yes it should be a pragma or a preprocessor features because headers don't past phase 4, at which point attributes don't yet exist - 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 would need a documentation and a release note) https://github.com/llvm/llvm-project/pull/168041 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
