[llvm-commits] [llvm] r125452 - /llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp
Argyrios Kyrtzidis
akyrtzi at gmail.com
Sat Feb 12 23:51:19 PST 2011
Author: akirtzidis
Date: Sun Feb 13 01:51:19 2011
New Revision: 125452
URL: http://llvm.org/viewvc/llvm-project?rev=125452&view=rev
Log:
Wrap the struct in an anonymous namespace.
Modified:
llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp
Modified: llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp?rev=125452&r1=125451&r2=125452&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp Sun Feb 13 01:51:19 2011
@@ -187,11 +187,13 @@
// Warning Group Tables generation
//===----------------------------------------------------------------------===//
+namespace {
struct GroupInfo {
std::vector<const Record*> DiagsInGroup;
std::vector<std::string> SubGroups;
unsigned IDNo;
};
+} // end anonymous namespace.
void ClangDiagGroupsEmitter::run(raw_ostream &OS) {
// Compute a mapping from a DiagGroup to all of its parents.
More information about the llvm-commits
mailing list