mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-21 01:06:46 +00:00
Update tablegen to generate shorts instead of chars for subgroup arrays.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103704 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
61aeed11cd
commit
93ca7b60bf
@ -239,7 +239,7 @@ void ClangDiagGroupsEmitter::run(raw_ostream &OS) {
|
||||
|
||||
const std::vector<std::string> &SubGroups = I->second.SubGroups;
|
||||
if (!SubGroups.empty()) {
|
||||
OS << "static const char DiagSubGroup" << I->second.IDNo << "[] = { ";
|
||||
OS << "static const short DiagSubGroup" << I->second.IDNo << "[] = { ";
|
||||
for (unsigned i = 0, e = SubGroups.size(); i != e; ++i) {
|
||||
std::map<std::string, GroupInfo>::iterator RI =
|
||||
DiagsInGroup.find(SubGroups[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user