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.
2 parents 8165806 + e6845ca commit 4eb1dbdCopy full SHA for 4eb1dbd
lib/ClangImporter/ClangDerivedConformances.cpp
@@ -13,6 +13,7 @@
13
#include "ClangDerivedConformances.h"
14
#include "swift/AST/NameLookup.h"
15
#include "swift/AST/ParameterList.h"
16
+#include "swift/AST/PrettyStackTrace.h"
17
18
using namespace swift;
19
@@ -80,6 +81,8 @@ bool swift::isIterator(const clang::CXXRecordDecl *clangDecl) {
80
81
void swift::conformToCxxIteratorIfNeeded(
82
ClangImporter::Implementation &impl, NominalTypeDecl *decl,
83
const clang::CXXRecordDecl *clangDecl) {
84
+ PrettyStackTraceDecl trace("conforming to UnsafeCxxInputIterator", decl);
85
+
86
assert(decl);
87
assert(clangDecl);
88
ASTContext &ctx = decl->getASTContext();
0 commit comments