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 | 89e5635a7c8213deb34b7348b789632b7463753e (patch) | |
| tree | 487a91089971344ec2f4f47939146b0c5cc5ba2b /llvm/utils/TableGen/ClangDiagnosticsEmitter.cpp | |
| parent | dd8f20dfb655fabea112dda395b4c905be8b2283 (diff) | |
| download | bcm5719-llvm-89e5635a7c8213deb34b7348b789632b7463753e.tar.gz bcm5719-llvm-89e5635a7c8213deb34b7348b789632b7463753e.zip | |
Update tablegen to generate shorts instead of chars for subgroup arrays.
llvm-svn: 103704
Diffstat (limited to 'llvm/utils/TableGen/ClangDiagnosticsEmitter.cpp')
| -rw-r--r-- | llvm/utils/TableGen/ClangDiagnosticsEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/ClangDiagnosticsEmitter.cpp b/llvm/utils/TableGen/ClangDiagnosticsEmitter.cpp index d0e813bc273..b2ddf93e111 100644 --- a/llvm/utils/TableGen/ClangDiagnosticsEmitter.cpp +++ b/llvm/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]); |

