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

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 17 05:18:20 PDT 2022


hans 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"
 
----------------
Should probably remove `/Zc:wchar_t` from the list of ignored options in clang/test/Driver/cl-options.c too.


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