[all-commits] [llvm/llvm-project] cd86a0: [clang, flang] Add help text for -fsyntax-only

Alexander Malkov via All-commits all-commits at lists.llvm.org
Fri Aug 19 03:10:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd86a03246a2df350c2f694457f1ce946cf65663
      https://github.com/llvm/llvm-project/commit/cd86a03246a2df350c2f694457f1ce946cf65663
  Author: Alexander Malkov <alexiprof at yandex-team.ru>
  Date:   2022-08-19 (Fri, 19 Aug 2022)

  Changed paths:
    M clang/docs/ClangCommandLineReference.rst
    M clang/docs/CommandGuide/clang.rst
    M clang/docs/UsersManual.rst
    M clang/include/clang/Driver/Options.td
    M flang/test/Driver/driver-help-hidden.f90
    M flang/test/Driver/driver-help.f90

  Log Message:
  -----------
  [clang,flang] Add help text for -fsyntax-only

Fix for the problem with displaying options `-fsyntax-only` in clang and flang-new in help
Fix https://github.com/llvm/llvm-project/issues/57033

Before:
``` $ clang  -help | grep syntax
  -objcmt-migrate-property-dot-syntax
         Enable migration of setter/getter messages to property-dot syntax
```
After:
```
 $ clang -help | grep syntax
  -fsyntax-only           Run the preprocessor, parser and semantic analysis stages
  -objcmt-migrate-property-dot-syntax
         Enable migration of setter/getter messages to property-dot syntax
```

Reviewed By: vzakhari, awarzynski, MaskRay, alexiprof

Differential Revision: https://reviews.llvm.org/D131808




More information about the All-commits mailing list