[PATCH] D40242: Do not perform the analysis based warning if all warnings are ignored
Olivier Goffart via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 20 22:57:28 PST 2017
ogoffart marked an inline comment as done.
ogoffart added a comment.
> You should add a test case that demonstrates code which would otherwise trigger an analysis-based warning but doesn't due to disabling all warnings.
No warnings are triggered. Because the diagnostic engine ignores them.
This just optimize the code so no analysis are preformed when no warning can be triggered.
https://reviews.llvm.org/D40242
More information about the cfe-commits
mailing list