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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits