diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-10-12 19:46:30 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-10-12 19:46:30 +0000 |
commit | d768150ef57f617c8d9fef48f3c92e8f21698024 (patch) | |
tree | 6b32a6dcedf5b1225deb7a2fac21df3228fa1f55 /include/clang/Basic/DiagnosticIDs.h | |
parent | b3df1386680b3830d2f4d300d4d7eaba134135fc (diff) | |
download | clang-d768150ef57f617c8d9fef48f3c92e8f21698024.tar.gz clang-d768150ef57f617c8d9fef48f3c92e8f21698024.tar.bz2 clang-d768150ef57f617c8d9fef48f3c92e8f21698024.tar.xz |
Implement built-in macro '__has_warning', which allows one to query if a warning flag is valid. Fixes <rdar://problem/10263428>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticIDs.h')
-rw-r--r-- | include/clang/Basic/DiagnosticIDs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticIDs.h b/include/clang/Basic/DiagnosticIDs.h index e158bf52b5..16d9b39985 100644 --- a/include/clang/Basic/DiagnosticIDs.h +++ b/include/clang/Basic/DiagnosticIDs.h @@ -251,7 +251,6 @@ public: static diag_iterator diags_begin(); static diag_iterator diags_end(); -private: /// \brief Get the set of all diagnostic IDs in the group with the given name. /// /// \param Diags [out] - On return, the diagnostics in the group. @@ -259,6 +258,7 @@ private: bool getDiagnosticsInGroup(StringRef Group, llvm::SmallVectorImpl<diag::kind> &Diags) const; +private: /// \brief Get the set of all diagnostic IDs in the given group. /// /// \param Diags [out] - On return, the diagnostics in the group. |