19std::optional<diag::Group>
21 switch (CLWarningID) {
22 case 4005:
return diag::Group::MacroRedefined;
23 case 4018:
return diag::Group::SignCompare;
24 case 4100:
return diag::Group::UnusedParameter;
25 case 4910:
return diag::Group::DllexportExplicitInstantiationDecl;
26 case 4996:
return diag::Group::DeprecatedDeclarations;
The JSON file list parser is used to communicate input to InstallAPI.
std::optional< diag::Group > diagGroupFromCLWarningID(unsigned)
For cl.exe warning IDs that cleany map to clang diagnostic groups, returns the corresponding group.