summaryrefslogtreecommitdiff
path: root/include/clang/Basic/DiagnosticIDs.h
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-22 10:08:06 +0000
committerAlp Toker <alp@nuanti.com>2014-06-22 10:08:06 +0000
commit864037ce5fed6350259a9de1f4a2f94c08364705 (patch)
tree324197452ac8432701b1bb9e350b0b158b1c2501 /include/clang/Basic/DiagnosticIDs.h
parent2c57a610f4b339283f5e4f171bf0d5b6b95f2b5a (diff)
downloadclang-864037ce5fed6350259a9de1f4a2f94c08364705.tar.gz
clang-864037ce5fed6350259a9de1f4a2f94c08364705.tar.bz2
clang-864037ce5fed6350259a9de1f4a2f94c08364705.tar.xz
TextDiagnosticPrinter: use the mapped level for remark flag computation
Custom diagnostics don't have a builtin class so this wouldn't have worked. Reduces surface area of remark-related changes. No test coverage. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211462 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticIDs.h')
-rw-r--r--include/clang/Basic/DiagnosticIDs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/clang/Basic/DiagnosticIDs.h b/include/clang/Basic/DiagnosticIDs.h
index c28f195b22..8eba2f65ba 100644
--- a/include/clang/Basic/DiagnosticIDs.h
+++ b/include/clang/Basic/DiagnosticIDs.h
@@ -148,9 +148,6 @@ public:
/// default.
static bool isDefaultMappingAsError(unsigned DiagID);
- /// \brief Return true if the specified diagnostic is a Remark.
- static bool isRemark(unsigned DiagID);
-
/// \brief Determine whether the given built-in diagnostic ID is a Note.
static bool isBuiltinNote(unsigned DiagID);