[analyzer] Don't track the condition of foreach loops
authorKristof Umann <dkszelethus@gmail.com>
Thu, 22 Aug 2019 02:44:19 +0000 (02:44 +0000)
committerKristof Umann <dkszelethus@gmail.com>
Thu, 22 Aug 2019 02:44:19 +0000 (02:44 +0000)
commit58eb033a497747331477f8aac36408f24ca0f628
treebd2ba70cecc9ef3236ff87af35140e83209723e6
parent7630e24492c55cf07e43c0783997cbf9a1603f45
[analyzer] Don't track the condition of foreach loops

As discussed on the mailing list, notes originating from the tracking of foreach
loop conditions are always meaningless.

Differential Revision: https://reviews.llvm.org/D66131

llvm-svn: 369613
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
clang/test/Analysis/track-control-dependency-conditions.cpp