Hi,
I recently started using clangd (9.0.1) with --clang-tidy. I noticed
that suppressing diagnostics only sometimes works.

For example:
    using std::array; // NOLINT(misc-unused-using-decls)
works with clang-tidy and clangd, but
    curl_global_init(CURL_GLOBAL_ALL); // NOLINT(hicpp-signed-bitwise)
works only with clang-tidy, not with clangd.

I found the review[1] of the feature when it was introduced but I don't
really understand what's going on thereā€¦

Is this a bug or can some warnings not be suppressed?

Kind regards, tastytea

[1] <https://reviews.llvm.org/D60953>

Attachment: pgpHmj6ofnMt4.pgp
Description: Digitale Signatur von OpenPGP

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

Reply via email to