[PATCH] D63085: Provide a fix-it hint for -Wswitch, which adds missing cases. If there are >3 cases, the inserted text will contain newlines so it will not be shown in console output (but will be appl

2022-03-15 Thread Sergio Martins via Phabricator via cfe-commits
iamsergio added a comment.
Herald added a subscriber: usaxena95.
Herald added a project: All.

I don't think we need to worry about formatting, that's the IDE's job (and 
whatever formatter it uses).
In general, the code that knows how to warn should also be the one that knows 
how to fix it, this looks like a good place to me.

Can we unblock this ? Probably this anymore though.


Repository:
  rC Clang

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

https://reviews.llvm.org/D63085

___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D100028: [docs] Update clazy's URL in the external Clang examples page

2021-04-07 Thread Sergio Martins via Phabricator via cfe-commits
sergio.martins created this revision.
sergio.martins added reviewers: kfunk, silvas, rizsotto.mailinglist.
sergio.martins requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

We've moved away from Phabricator.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100028

Files:
  clang/docs/ExternalClangExamples.rst


Index: clang/docs/ExternalClangExamples.rst
===
--- clang/docs/ExternalClangExamples.rst
+++ clang/docs/ExternalClangExamples.rst
@@ -85,7 +85,7 @@
 errors, fixit hints).  See also ``_ for
 step-by-step instructions."
 
-``_
+``_
"clazy is a compiler plugin which allows clang to understand Qt semantics.
You get more than 50 Qt related compiler warnings, ranging from unneeded
memory allocations to misusage of API, including fix-its for automatic


Index: clang/docs/ExternalClangExamples.rst
===
--- clang/docs/ExternalClangExamples.rst
+++ clang/docs/ExternalClangExamples.rst
@@ -85,7 +85,7 @@
 errors, fixit hints).  See also ``_ for
 step-by-step instructions."
 
-``_
+``_
"clazy is a compiler plugin which allows clang to understand Qt semantics.
You get more than 50 Qt related compiler warnings, ranging from unneeded
memory allocations to misusage of API, including fix-its for automatic
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits