[PATCH] D62523: Add release note entries for recent typo correction changes

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 28 06:59:42 PDT 2019


thakis created this revision.
thakis added a reviewer: hans.
Herald added a project: LLVM.

https://reviews.llvm.org/D62523

Files:
  clang/docs/ReleaseNotes.rst
  lld/docs/ReleaseNotes.rst


Index: lld/docs/ReleaseNotes.rst
===================================================================
--- lld/docs/ReleaseNotes.rst
+++ lld/docs/ReleaseNotes.rst
@@ -24,11 +24,17 @@
 ELF Improvements
 ----------------
 
+* ld.lld now has typo suggestions for flags:
+  ``$ ld.lld --call-shared`` now prints
+  ``unknown argument '--call-shared', did you mean '--call_shared'``.
+
 * ...
 
 COFF Improvements
 -----------------
 
+* Like the ELF driver, lld-link now has typo suggestions for flags.
+
 * lld-link now correctly reports duplicate symbol errors for obj files
   that were compiled with /Gy.
 
Index: clang/docs/ReleaseNotes.rst
===================================================================
--- clang/docs/ReleaseNotes.rst
+++ clang/docs/ReleaseNotes.rst
@@ -75,7 +75,7 @@
 Modified Compiler Flags
 -----------------------
 
-- `clang -dumpversion` now returns the version of Clang itself.
+- ``clang -dumpversion`` now returns the version of Clang itself.
 
 - ...
 
@@ -92,7 +92,10 @@
 Windows Support
 ---------------
 
-- ...
+- clang-cl now treats non-existent files as possible typos for flags,
+  ``clang-cl /diagnostic:caret /c test.cc`` for example now produces
+  ``clang: error: no such file or directory: '/diagnostic:caret'; did you mean '/diagnostics:caret'?``
+
 
 
 C Language Changes in Clang


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62523.201657.patch
Type: text/x-patch
Size: 1327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190528/384434a4/attachment.bin>


More information about the cfe-commits mailing list