blob: 8b2b4671ed96b13a6486f5e5ee5f2b3471c6114b [file] [log] [blame]
// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.webkit.UncountedCallArgsChecker -verify %s
// expected-no-diagnostics
#include "mock-types.h"
class Node {
public:
Node* nextSibling() const;
void ref() const;
void deref() const;
};
static void removeDetachedChildren(Node* firstChild)
{
for (RefPtr child = firstChild; child; child = child->nextSibling());
}