We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd8f20d commit 89e5635Copy full SHA for 89e5635
llvm/utils/TableGen/ClangDiagnosticsEmitter.cpp
@@ -239,7 +239,7 @@ void ClangDiagGroupsEmitter::run(raw_ostream &OS) {
239
240
const std::vector<std::string> &SubGroups = I->second.SubGroups;
241
if (!SubGroups.empty()) {
242
- OS << "static const char DiagSubGroup" << I->second.IDNo << "[] = { ";
+ OS << "static const short DiagSubGroup" << I->second.IDNo << "[] = { ";
243
for (unsigned i = 0, e = SubGroups.size(); i != e; ++i) {
244
std::map<std::string, GroupInfo>::iterator RI =
245
DiagsInGroup.find(SubGroups[i]);
0 commit comments