diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-15 01:15:27 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-15 01:15:27 +0000 |
commit | ed635e4bff56ffc50d9ad2929eee9d7ffc516c2d (patch) | |
tree | 44c5aae3f435adc23281fb3a44fcee6d4497ebcb /lib/Frontend/VerifyDiagnosticsClient.cpp | |
parent | bbc6454bb98d6a6ecbaafa715222c5db834307f2 (diff) |
Add ATTRIBUTE_UNUSED to methods not supposed to be used.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/VerifyDiagnosticsClient.cpp')
-rw-r--r-- | lib/Frontend/VerifyDiagnosticsClient.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Frontend/VerifyDiagnosticsClient.cpp b/lib/Frontend/VerifyDiagnosticsClient.cpp index ae36481444..f2a2606317 100644 --- a/lib/Frontend/VerifyDiagnosticsClient.cpp +++ b/lib/Frontend/VerifyDiagnosticsClient.cpp @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallString.h" #include "llvm/Support/Regex.h" #include "llvm/Support/raw_ostream.h" +#include "llvm/Support/Compiler.h" using namespace clang; VerifyDiagnosticsClient::VerifyDiagnosticsClient(Diagnostic &_Diags, @@ -100,8 +101,8 @@ protected: : Location(Location), Text(Text), Count(Count) { } private: - Directive(const Directive&); // DO NOT IMPLEMENT - void operator=(const Directive&); // DO NOT IMPLEMENT + Directive(const Directive&) ATTRIBUTE_UNUSED; // DO NOT IMPLEMENT + void operator=(const Directive&) ATTRIBUTE_UNUSED; // DO NOT IMPLEMENT }; /// StandardDirective - Directive with string matching. |