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 3df6b7c + cc3fc4a commit f64135aCopy full SHA for f64135a
lib/ClangImporter/ImportName.cpp
@@ -416,6 +416,9 @@ namespace {
416
else
417
nameStr = cast<clang::ObjCPropertyDecl>(decl)->getName().str();
418
for (unsigned i = 1, n = overriddenNames.size(); i != n; ++i) {
419
+ if (ctx.Diags.isPrettyPrintingDecl())
420
+ continue;
421
+
422
ctx.Diags.diagnose(SourceLoc(), diag::inconsistent_swift_name,
423
method == nullptr,
424
nameStr,
0 commit comments