Skip to content

Commit 72439d3

Browse files
committed
assert -> ASSERT
1 parent af819b9 commit 72439d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ClangImporter/SwiftifyDecl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace {
3737
ValueDecl *getKnownSingleDecl(ASTContext &SwiftContext, StringRef DeclName) {
3838
SmallVector<ValueDecl *, 1> decls;
3939
SwiftContext.lookupInSwiftModule(DeclName, decls);
40-
assert(decls.size() < 2);
40+
ASSERT(decls.size() < 2);
4141
if (decls.size() != 1) return nullptr;
4242
return decls[0];
4343
}
@@ -468,7 +468,7 @@ class SwiftifyProtocolInfoPrinter : public SwiftifyInfoPrinter {
468468
out << "\", paramInfo: [";
469469
// reset firstParam inside paramInfo array. At this point firstParam will
470470
// always be false, so no need to save the current value.
471-
assert(!firstParam);
471+
ASSERT(!firstParam);
472472
firstParam = true;
473473
bool hadAttributes = swiftifyImpl(ImporterImpl, *this, Method, ClangDecl);
474474
firstParam = false;

0 commit comments

Comments
 (0)