mgehre added a comment.

My main goal is to be able to suppress any clang-tidy warning through an 
attribute. Initially, I though we could reuse the C++ Core Guidelines attribute 
for that,
(because I though it was plain [[suppress]]). As a bonus (not more), we would 
have interoperability with other C++ Core Guideline checkers.

But now that I know that it is spelled [[gsl::suppress]], I fear that this is 
not a good name for a general clang-tidy suppression attribute.
For that, [[clang::suppress]] sounds more reasonable to me.


https://reviews.llvm.org/D24886



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

Reply via email to