From 46c8fca7b32a7613f9b37b46c381dd064b773b30 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 29 Aug 2013 06:06:18 +0000 Subject: Make getDiagnosticsInGroup helper method a static function in the cpp file and move the WarningOption struct into an anonymous namespace instead of clang namespace since it no longer needs to be forward declared in the header. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189569 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/DiagnosticIDs.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/clang/Basic/DiagnosticIDs.h') diff --git a/include/clang/Basic/DiagnosticIDs.h b/include/clang/Basic/DiagnosticIDs.h index 25e5dfd0e8..237b826f98 100644 --- a/include/clang/Basic/DiagnosticIDs.h +++ b/include/clang/Basic/DiagnosticIDs.h @@ -22,7 +22,6 @@ namespace clang { class DiagnosticsEngine; class SourceLocation; - struct WarningOption; // Import the diagnostic enums themselves. namespace diag { @@ -240,12 +239,6 @@ public: static StringRef getNearestWarningOption(StringRef Group); private: - /// \brief Get the set of all diagnostic IDs in the given group. - /// - /// \param[out] Diags - On return, the diagnostics in the group. - void getDiagnosticsInGroup(const WarningOption *Group, - SmallVectorImpl &Diags) const; - /// \brief Classify the specified diagnostic ID into a Level, consumable by /// the DiagnosticClient. /// -- cgit v1.2.3