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 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.