Skip to content

Commit fab97d4

Browse files
committed
avoid weird formatting
1 parent 6e97583 commit fab97d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/include/llvm/ADT/SmallPtrSet.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ class SmallPtrSetImplBase : public DebugEpochBase {
219219
bool contains_imp(const void *Ptr) const {
220220
if (isSmall()) {
221221
// Linear search for the item.
222-
for (const void *const *APtr = SmallArray, *const *E =
223-
SmallArray + NumNonEmpty;
224-
APtr != E; ++APtr)
222+
const void *const *APtr = SmallArray;
223+
const void *const *E = SmallArray + NumNonEmpty;
224+
for (; APtr != E; ++APtr)
225225
if (*APtr == Ptr)
226226
return true;
227227
return false;

0 commit comments

Comments
 (0)