[PATCH] D58797: [Sema] Add some compile time _FORTIFY_SOURCE diagnostics

George Burgess IV via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 26 13:38:21 PDT 2019


george.burgess.iv added a comment.

We have warnings like -Wdivision-by-zero that take reachability into account: https://godbolt.org/z/3PD-eF. I don't immediately know how it's all done (e.g. in batch because CFG construction is expensive? ...), but looking there for inspiration may be useful.


Repository:
  rC Clang

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

https://reviews.llvm.org/D58797





More information about the cfe-commits mailing list