[PATCH] D65065: [clang-tidy] Possibility of displaying duplicate warnings

Tibor Brunner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 6 07:59:49 PDT 2019


bruntib added a comment.

Not exactly. The problem is that it is non-deterministic which checker reports the issue. For example before this patch, in the test file above there was only one report. However, sometimes the report message is:

throw expression should throw anonymous temporary values instead [cert-err09-cpp]

and sometimes the message is:

throw expression should throw anonymous temporary values instead [cert-err61-cpp]

(note the content of the square bracket)
So after this patch both of these lines will be emitted.


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65065/new/

https://reviews.llvm.org/D65065





More information about the cfe-commits mailing list