[all-commits] [llvm/llvm-project] c2cec8: Revert "Reland "[Driver] Support multi /guard: opt...

Phoebe Wang via All-commits all-commits at lists.llvm.org
Sun May 21 07:50:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2cec8a91cf948aac6ec7c7b4e74aab2236769bd
      https://github.com/llvm/llvm-project/commit/c2cec8a91cf948aac6ec7c7b4e74aab2236769bd
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2023-05-21 (Sun, 21 May 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/test/Driver/cl-options.c

  Log Message:
  -----------
  Revert "Reland "[Driver] Support multi /guard: options""

This reverts commit a4f366dcd85c440a611bbc82f1d24c2d9a735251.

Found a problem during backport it to 16.x branch.
https://github.com/llvm/llvm-project-release-prs/actions/runs/5036930270/jobs/9033427592?pr=451

The reason is `-implicit-check-not='warning'` may conflict with option
name, e.g., `-treat-scalable-fixed-error-as-warning`


  Commit: 2f0a1699eab7c00a64312e7f87e0d85a2e9b9e6e
      https://github.com/llvm/llvm-project/commit/2f0a1699eab7c00a64312e7f87e0d85a2e9b9e6e
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2023-05-21 (Sun, 21 May 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/test/Driver/cl-options.c

  Log Message:
  -----------
  Reland "[Driver] Support multi /guard: options"

Fixes unexpected warning.

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


Compare: https://github.com/llvm/llvm-project/compare/caf01f9b1df7...2f0a1699eab7


More information about the All-commits mailing list