File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,11 @@ class StoredDeclsList {
244
244
245
245
// FIXME: Move the assert before the single decl case when we fix the
246
246
// duplication coming from the ASTReader reading builtin types.
247
- assert (!llvm::is_contained (getLookupResult (), D) && " Already exists!" );
247
+
248
+ // SWIFT: FIXME^2: This assertion causes problems in Swift's ClangImporter.
249
+ // SWIFT: We should probably set its ASTContext to Objective-C++ mode to avoid it.
250
+ // SWIFT: assert(!llvm::is_contained(getLookupResult(), D) && "Already exists!");
251
+
248
252
// Determine if this declaration is actually a redeclaration.
249
253
for (DeclListNode *N = getAsList (); /* return in loop*/ ;
250
254
N = N->Rest .dyn_cast <DeclListNode *>()) {
You can’t perform that action at this time.
0 commit comments