Open Quuxplusone opened 6 years ago
bugreport.c
Created attachment 20206 run clang-tidy on it and you'll see. In the attached code, clang-tidy 6.0.0 reports "Value stored to 'i1' is never read", but both i1 and i2 in fact are read.
Attached bugreport.c (376 bytes, text/plain): run clang-tidy on it and you'll see.
clang-analyzer-deadcode is implemented in Clang Static Analyzer. Clang-tidy only invoke it.
bugreport.c
(376 bytes, text/plain)