[PATCH] D127452: [clang-cl][MSVC] Map /external:Wn n=1-4 to -Wsystem-headers
Stephen Long via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 10 06:38:08 PDT 2022
steplong added inline comments.
================
Comment at: clang/test/Driver/cl-zc.cpp:106
// DllExportInlines-NOT: "-fno-dllexport-inlines"
+// RUN: %clang_cl /external:W1 /c -### -- %s 2>&1 | FileCheck -check-prefix=EXTERNAL_Wn %s
----------------
hans wrote:
> This is not the right test file, cl-zc.cpp is for testing /Zc flags.
> I don't think we have a special file for clang-cl warning flags, so clang/test/Driver/cl-options.c would be the file to use.
Oh whoops, I think I added some /kernel tests here too for D126719
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127452/new/
https://reviews.llvm.org/D127452
More information about the cfe-commits
mailing list