PiotrZSL added a comment.

There are 186 findings from this check in llvm repository, no false-positives.

Example:

  llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp:2071:2: warning: 
preprocessor condition is always 'true', consider removing condition but 
leaving its contents [readability-avoid-unconditional-preprocessor-if]
  clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:400:2: 
warning: preprocessor condition is always 'false', consider removing both the 
condition and its contents [readability-avoid-unconditional-preprocessor-if]


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145617

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to