Fix unused variable warning. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 11 Jun 2020 12:48:42 +0000 (13:48 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 11 Jun 2020 12:48:42 +0000 (13:48 +0100)
commitf529c0a8a149ce6d027400a12a1637eda19e03b5
treefb79ef4b6b37abb169bca5c4d1757647832791fc
parent8824913e93505b0da9884a73969fc3f038a499c4
Fix unused variable warning. NFCI.

We're only using the D2 iteration value inside the assert (the only component of the loop) - move the entire loop inside the assert by using llvm::all_of.
clang/unittests/StaticAnalyzer/ParamRegionTest.cpp