================
@@ -2365,6 +2383,33 @@ ObjCPropertyDecl 
*ObjCPropertyDecl::CreateDeserialized(ASTContext &C,
                                       QualType(), nullptr, None);
 }
 
+void ObjCPropertyDecl::getNameForDiagnostic(raw_ostream &OS,
+                                            const PrintingPolicy &Policy,
+                                            bool Qualified) const {
+  if (Qualified) {
----------------
steakhal wrote:

Given that the else branch is a oneliner, I'd suggest flipping the condition 
and returning early to reduce the indentation for the bulk of the code.

https://github.com/llvm/llvm-project/pull/213030
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to