[PATCH] D125513: [clang-cl] Add /Zc:wchar_t- option

Pengxuan Zheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 17 09:38:12 PDT 2022


pzheng marked an inline comment as done.
pzheng added inline comments.


================
Comment at: clang/test/Driver/cl-zc.cpp:50
 // RUN: %clang_cl /c -### /Zc:wchar_t- -- %s 2>&1 | FileCheck -check-prefix=WCHAR_T-OFF %s
-// WCHAR_T-OFF: argument unused during compilation
+// WCHAR_T-OFF: "-fno-wchar"
 
----------------
hans wrote:
> Should probably remove `/Zc:wchar_t` from the list of ignored options in clang/test/Driver/cl-options.c too.
Good catch. I have updated clang/test/Driver/cl-options.c in the latest change.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125513/new/

https://reviews.llvm.org/D125513



More information about the cfe-commits mailing list