[PATCH] D112926: run-clang-tidy.py analyze unique files only

Serikzhan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 2 03:31:04 PDT 2021


serkazi added a comment.

In D112926#3102417 <https://reviews.llvm.org/D112926#3102417>, @salman-javed-nz wrote:

> Why does the compile-commands.json have duplicate entries in the first place? Would someone do that on purpose?

Think of a large project where people -- for various reasons -- don't make full use of CMake targets... This way, the compile-commands would have multiple entries with "-c".


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

https://reviews.llvm.org/D112926



More information about the cfe-commits mailing list