From d91ef79c4342ab8949964a4cab3cbbf22b5e678a Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sun, 13 Feb 2011 07:51:19 +0000 Subject: [PATCH] Wrap the struct in an anonymous namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125452 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/ClangDiagnosticsEmitter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/TableGen/ClangDiagnosticsEmitter.cpp b/utils/TableGen/ClangDiagnosticsEmitter.cpp index 9f076073eda..60e67c46746 100644 --- a/utils/TableGen/ClangDiagnosticsEmitter.cpp +++ b/utils/TableGen/ClangDiagnosticsEmitter.cpp @@ -187,11 +187,13 @@ void ClangDiagsDefsEmitter::run(raw_ostream &OS) { // Warning Group Tables generation //===----------------------------------------------------------------------===// +namespace { struct GroupInfo { std::vector DiagsInGroup; std::vector SubGroups; unsigned IDNo; }; +} // end anonymous namespace. void ClangDiagGroupsEmitter::run(raw_ostream &OS) { // Compute a mapping from a DiagGroup to all of its parents.