dmpolukhin wrote:

abi_tags were implanted for compatibility with GCC so it is the canonical 
implementation in this particular case. Diagnostic from this PR will be emitted 
for libstdc++'s own idiom: c++config.h tags __cxx11 once, and 
_GLIBCXX_BEGIN_NAMESPACE_CXX11 is a bare `namespace __cxx11 {` - and I don't 
think it should be flagged. I do see value diagnostic you implementsed in this 
PR but only for the cases when abi_tag added after there were used so new tags 
will be ignored (I haven't implemented this part), see #224826. It is indeed 
much bigger and changes ABI with command line option for backward compatibility.

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

Reply via email to