diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-11-19 00:19:20 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-11-19 00:19:20 +0000 |
commit | 3ffe6293123b8fe59bd9d6ed8e3ec755d68e7fac (patch) | |
tree | 0dbc11760d8115b062da1c84ccd706a9027738eb | |
parent | e8f0ba75a39b2fa2d34d14e8401ae96f43e1fc14 (diff) |
Remove Diagnostic's get/setNumErrors() and getNumErrorsSuppressed().
Anyone wanting to use it should probably use DiagnosticClient's getNumErrors() instead.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119766 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Basic/Diagnostic.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/clang/Basic/Diagnostic.h b/include/clang/Basic/Diagnostic.h index b38df5f9c4..c4988e417d 100644 --- a/include/clang/Basic/Diagnostic.h +++ b/include/clang/Basic/Diagnostic.h @@ -371,18 +371,12 @@ public: bool hasErrorOccurred() const { return ErrorOccurred; } bool hasFatalErrorOccurred() const { return FatalErrorOccurred; } - unsigned getNumErrors() const { return NumErrors; } - unsigned getNumErrorsSuppressed() const { return NumErrorsSuppressed; } unsigned getNumWarnings() const { return NumWarnings; } void setNumWarnings(unsigned NumWarnings) { this->NumWarnings = NumWarnings; } - void setNumErrors(unsigned NumErrors) { - this->NumErrors = NumErrors; - } - /// getCustomDiagID - Return an ID for a diagnostic with the specified message /// and level. If this is the first request for this diagnosic, it is /// registered and created, otherwise the existing ID is returned. |