[llvm-commits] [llvm] r100984 - /llvm/trunk/lib/Analysis/IVUsers.cpp
Dan Gohman
gohman at apple.com
Sun Apr 11 12:30:19 PDT 2010
Author: djg
Date: Sun Apr 11 14:30:19 2010
New Revision: 100984
URL: http://llvm.org/viewvc/llvm-project?rev=100984&view=rev
Log:
Add a cast to void to show that the return value is being
intentionally ignored.
Modified:
llvm/trunk/lib/Analysis/IVUsers.cpp
Modified: llvm/trunk/lib/Analysis/IVUsers.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IVUsers.cpp?rev=100984&r1=100983&r2=100984&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/IVUsers.cpp (original)
+++ llvm/trunk/lib/Analysis/IVUsers.cpp Sun Apr 11 14:30:19 2010
@@ -164,7 +164,7 @@
// them by stride. Start by finding all of the PHI nodes in the header for
// this loop. If they are induction variables, inspect their uses.
for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ++I)
- AddUsersIfInteresting(I);
+ (void)AddUsersIfInteresting(I);
return false;
}
More information about the llvm-commits
mailing list