[PATCH] D110668: [clang-cl] Accept `#pragma warning(disable : N)` for some N

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 4 10:40:01 PDT 2021


thakis added a comment.

> What I mean,  for example:
>
>   def UnusedParameter : DiagGroup<"unused-parameter", 4100>;

That's an interesting idea.

Given how seldom this is used, I weakly prefer having actual code for this though: It makes it easy to see all of those mapped flags, and it keeps rarely used things out of tablegen, which is imho a good thing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110668



More information about the llvm-commits mailing list