We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b02b94c commit 8624b17Copy full SHA for 8624b17
include/swift/AST/Module.h
@@ -25,6 +25,7 @@
25
#include "swift/AST/Import.h"
26
#include "swift/AST/LookupKinds.h"
27
#include "swift/AST/Type.h"
28
+#include "swift/Basic/Assertions.h"
29
#include "swift/Basic/BasicSourceInfo.h"
30
#include "swift/Basic/Compiler.h"
31
#include "swift/Basic/Debug.h"
@@ -388,7 +389,7 @@ class ModuleDecl
388
389
void setBypassResilience() { BypassResilience = true; }
390
391
ArrayRef<FileUnit *> getFiles() {
- assert(!Files.empty() || failedToLoad());
392
+ ASSERT(!Files.empty() || failedToLoad());
393
return Files;
394
}
395
ArrayRef<const FileUnit *> getFiles() const {
0 commit comments