diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2010-05-13 07:43:47 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2010-05-13 07:43:47 +0000 |
commit | 93ca7b60bf55c58f0e47cefd5ecccd12c0637784 (patch) | |
tree | ec6939df3adeef30639a87c52b7a246ac4b3e693 /utils | |
parent | 61aeed11cd6cd77e9fc9ce4b5e52bbf81190f4bb (diff) | |
download | external_llvm-93ca7b60bf55c58f0e47cefd5ecccd12c0637784.zip external_llvm-93ca7b60bf55c58f0e47cefd5ecccd12c0637784.tar.gz external_llvm-93ca7b60bf55c58f0e47cefd5ecccd12c0637784.tar.bz2 |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/ClangDiagnosticsEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/ClangDiagnosticsEmitter.cpp b/utils/TableGen/ClangDiagnosticsEmitter.cpp index d0e813b..b2ddf93 100644 --- a/utils/TableGen/ClangDiagnosticsEmitter.cpp +++ b/utils/TableGen/ClangDiagnosticsEmitter.cpp @@ -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]); |