aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode
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
parent132929aa9e1b0b00d2643408d88239c20f1e7ed7 (diff)
downloadexternal_llvm-7268d97ae6c1680be96e5758c33cdd46efb6ce54.zip
external_llvm-7268d97ae6c1680be96e5758c33cdd46efb6ce54.tar.gz
external_llvm-7268d97ae6c1680be96e5758c33cdd46efb6ce54.tar.bz2
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')
-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 8f999a6..be2c1ce 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) {