[PATCH] D51747: [clangd] Implement deprecation diagnostics with lower severity.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 7 03:37:20 PDT 2018


ilya-biryukov added a comment.

Not sure if it's fine to hijack our own diagnostic-specific flags in to clang command args.

Const that I see:

1. There is no way for the users to turn them off if they find them non-useful. If we add a way, it would be more config parameters which overlap with other mechanism that we have - compiler flags.
2. Users who are used to having them as warnings will now see them as notes. Again, no way to tweak this behavior.

What's our use-case? Maybe we should ask the clients to add -Wdeprecated if they care about those?

PS In case I'm missing the context here, please let me know.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D51747





More information about the cfe-commits mailing list