summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-08-15 10:27:23 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-08-15 10:27:23 +0000
commit8c8b9ee8c8646aa1a79c782d4da9abdf3eb4eefe (patch)
treef5e1cef0436b2d207e695f1aeeb169138b51513f /lib/Bitcode/Reader
parent0b63f378650f53b26f57a39b63b4cbceaefc7bef (diff)
downloadllvm-8c8b9ee8c8646aa1a79c782d4da9abdf3eb4eefe.tar.gz
llvm-8c8b9ee8c8646aa1a79c782d4da9abdf3eb4eefe.tar.bz2
llvm-8c8b9ee8c8646aa1a79c782d4da9abdf3eb4eefe.tar.xz
Revert r111082. No warnings for this common pattern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111102 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 be2c1ce986..8f999a6875 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() ATTRIBUTE_UNUSED; // DO NOT IMPLEMENT
- void operator=(const ConstantPlaceHolder &) ATTRIBUTE_UNUSED;//NOT IMPLEMENT
+ ConstantPlaceHolder(); // DO NOT IMPLEMENT
+ void operator=(const ConstantPlaceHolder &); // DO NOT IMPLEMENT
public:
// allocate space for exactly one operand
void *operator new(size_t s) {