[all-commits] [llvm/llvm-project] 3b578a: [Driver] Call hasFlag instead of hasArg

Akira Hatanaka via All-commits all-commits at lists.llvm.org
Fri Apr 22 20:15:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b578ae9088caf08932dc7d18e87d2a17fb4f7a8
      https://github.com/llvm/llvm-project/commit/3b578ae9088caf08932dc7d18e87d2a17fb4f7a8
  Author: Akira Hatanaka <ahatanaka at apple.com>
  Date:   2022-04-22 (Fri, 22 Apr 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/test/Driver/msvc-static-rtti.cpp

  Log Message:
  -----------
  [Driver] Call hasFlag instead of hasArg

`_HAS_STATIC_RTTI` should be set to 0 only by `-fno-rtti` according to the
summary of https://reviews.llvm.org/D103771.

rdar://92039243

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




More information about the All-commits mailing list