summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-08-14 21:35:10 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-08-14 21:35:10 +0000
commit7268d97ae6c1680be96e5758c33cdd46efb6ce54 (patch)
tree84f3c90c87b7f97d5502386d73814a1c19025240 /lib/Bitcode/Reader
parent132929aa9e1b0b00d2643408d88239c20f1e7ed7 (diff)
downloadllvm-7268d97ae6c1680be96e5758c33cdd46efb6ce54.tar.gz
llvm-7268d97ae6c1680be96e5758c33cdd46efb6ce54.tar.bz2
llvm-7268d97ae6c1680be96e5758c33cdd46efb6ce54.tar.xz
Add ATTRIBUTE_UNUSED to methods that are not supposed to be used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
-rw-r--r--lib/Bitcode/Reader/BitcodeReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp
index 8f999a6875..be2c1ce986 100644
--- a/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -135,8 +135,8 @@ namespace {
/// @brief A class for maintaining the slot number definition
/// as a placeholder for the actual definition for forward constants defs.
class ConstantPlaceHolder : public ConstantExpr {
- ConstantPlaceHolder(); // DO NOT IMPLEMENT
- void operator=(const ConstantPlaceHolder &); // DO NOT IMPLEMENT
+ ConstantPlaceHolder() ATTRIBUTE_UNUSED; // DO NOT IMPLEMENT
+ void operator=(const ConstantPlaceHolder &) ATTRIBUTE_UNUSED;//NOT IMPLEMENT
public:
// allocate space for exactly one operand
void *operator new(size_t s) {