[all-commits] [llvm/llvm-project] c01ea0: [test] Driver/ftime-trace.cpp: work around -Wmsvc-...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat May 13 00:22:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c01ea0515f15064e4bcec601f9290854429b8666
      https://github.com/llvm/llvm-project/commit/c01ea0515f15064e4bcec601f9290854429b8666
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-05-13 (Sat, 13 May 2023)

  Changed paths:
    M clang/test/Driver/ftime-trace.cpp

  Log Message:
  -----------
  [test] Driver/ftime-trace.cpp: work around -Wmsvc-not-found

There may be one extra warning. Just make the check less strict.
```
clang: warning: unable to find a Visual Studio installation; try running Clang from a developer command prompt [-Wmsvc-not-found]
clang: warning: argument unused during compilation: '-ftime-trace' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-ftime-trace=e' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-ftime-trace-granularity=1' [-Wunused-command-line-argument]
```




More information about the All-commits mailing list