[PATCH] D87360: clang-cl: Alias /wd4101 to -Wno-unused-variable
Ilia K via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 9 04:29:51 PDT 2020
ki.stfu created this revision.
Herald added subscribers: cfe-commits, dang.
Herald added a project: clang.
ki.stfu requested review of this revision.
See https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-3-c4101
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87360
Files:
clang/include/clang/Driver/Options.td
Index: clang/include/clang/Driver/Options.td
===================================================================
--- clang/include/clang/Driver/Options.td
+++ clang/include/clang/Driver/Options.td
@@ -4630,6 +4630,8 @@
AliasArgs<["no-sign-compare"]>;
def _SLASH_wd4100 : CLFlag<"wd4100">, Alias<W_Joined>,
AliasArgs<["no-unused-parameter"]>;
+def _SLASH_wd4101 : CLFlag<"wd4101">, Alias<W_Joined>,
+ AliasArgs<["no-unused-variable"]>;
def _SLASH_wd4910 : CLFlag<"wd4910">, Alias<W_Joined>,
AliasArgs<["no-dllexport-explicit-instantiation-decl"]>;
def _SLASH_wd4996 : CLFlag<"wd4996">, Alias<W_Joined>,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87360.290694.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200909/10097434/attachment.bin>
More information about the cfe-commits
mailing list