summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
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
commit7c09ddf0aedcd12e962b16525615c85dea907219 (patch)
treec1cfd46ce5e8b63ccd839c31c421a6fdc26a4ea8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2a2e21c902dac5b156ed1b0b8721c70e1315a2da (diff)
downloadbcm5719-llvm-7c09ddf0aedcd12e962b16525615c85dea907219.tar.gz
bcm5719-llvm-7c09ddf0aedcd12e962b16525615c85dea907219.zip
Add ATTRIBUTE_UNUSED to methods that are not supposed to be used.
llvm-svn: 111082
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index 8f999a68758..be2c1ce9862 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud