summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/DiagnosticIDs.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-08-29 06:06:18 +0000
committerCraig Topper <craig.topper@gmail.com>2013-08-29 06:06:18 +0000
commit46c8fca7b32a7613f9b37b46c381dd064b773b30 (patch)
tree7c62966e01353d1c4ae5b70a8cd360863f3457cd /include/clang/Basic/DiagnosticIDs.h
parent354f20a8720732aa1745d1ff9595382cee324ee2 (diff)
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
Diffstat (limited to 'include/clang/Basic/DiagnosticIDs.h')
-rw-r--r--include/clang/Basic/DiagnosticIDs.h7
1 files changed, 0 insertions, 7 deletions
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<diag::kind> &Diags) const;
-
/// \brief Classify the specified diagnostic ID into a Level, consumable by
/// the DiagnosticClient.
///