[PATCH] D102577: TreeTransform.h: make the switch case more beautiful

zhouyizhou via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 16 08:32:35 PDT 2021


zhouyizhou updated this revision to Diff 345710.
zhouyizhou added a comment.

I use git diff -U99999 instead


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102577/new/

https://reviews.llvm.org/D102577

Files:
  clang/lib/Sema/TreeTransform.h


Index: clang/lib/Sema/TreeTransform.h
===================================================================
--- clang/lib/Sema/TreeTransform.h
+++ clang/lib/Sema/TreeTransform.h
@@ -3964,8 +3964,8 @@
       if (SemaRef.BuildCXXNestedNameSpecifier(/*Scope=*/nullptr, IdInfo, false,
                                               SS, FirstQualifierInScope, false))
         return NestedNameSpecifierLoc();
-    }
       break;
+    }
 
     case NestedNameSpecifier::Namespace: {
       NamespaceDecl *NS


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102577.345710.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210516/7d41223d/attachment.bin>


More information about the cfe-commits mailing list