[PATCH] D75006: Wrap lines for C# property accessors

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 23 06:43:38 PST 2020


MyDeveloperDay added inline comments.


================
Comment at: clang/lib/Format/UnwrappedLineFormatter.cpp:443
+    if (GetToken &&
+        GetToken->isOneOf(tok::kw_public, tok::kw_protected, tok::kw_private))
+      GetToken = GetToken->Next;
----------------
I think we need to consider `internal`


================
Comment at: clang/lib/Format/UnwrappedLineFormatter.cpp:456
+    if (SetToken &&
+        SetToken->isOneOf(tok::kw_public, tok::kw_protected, tok::kw_private))
+      SetToken = SetToken->Next;
----------------
and here


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

https://reviews.llvm.org/D75006





More information about the cfe-commits mailing list