]> granicus.if.org Git - clang/commit
In the "use of floating point variable as loop counter" check, check
authorTed Kremenek <kremenek@apple.com>
Fri, 24 Jul 2009 20:26:31 +0000 (20:26 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 24 Jul 2009 20:26:31 +0000 (20:26 +0000)
commitcad9f41b3e82df62910832273f900f8252530d4f
tree837ba41d63249d8a36796ffe778274dceb7c1312
parent11727519fbdaec68f526ae7c54a83d0a4601f561
In the "use of floating point variable as loop counter" check, check
if the DeclRefExpr is a float, not just either argument.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76998 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CheckSecuritySyntaxOnly.cpp