Remove ATTRIBUTE_UNUSED from the common pattern of disallowing copying.

llvm-svn: 111101
This commit is contained in:
Argyrios Kyrtzidis 2010-08-15 10:17:39 +00:00
parent 04c7fa09e4
commit 499e6e49e7
2 changed files with 4 additions and 6 deletions

View File

@ -660,9 +660,8 @@ class RecordLayoutBuilder {
void UpdateAlignment(unsigned NewAlignment);
// DO NOT IMPLEMENT
RecordLayoutBuilder(const RecordLayoutBuilder&) ATTRIBUTE_UNUSED;
void operator=(const RecordLayoutBuilder&) ATTRIBUTE_UNUSED;
RecordLayoutBuilder(const RecordLayoutBuilder&); // DO NOT IMPLEMENT
void operator=(const RecordLayoutBuilder&); // DO NOT IMPLEMENT
public:
static const CXXMethodDecl *ComputeKeyFunction(const CXXRecordDecl *RD);
};

View File

@ -18,7 +18,6 @@
#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,
@ -101,8 +100,8 @@ protected:
: Location(Location), Text(Text), Count(Count) { }
private:
Directive(const Directive&) ATTRIBUTE_UNUSED; // DO NOT IMPLEMENT
void operator=(const Directive&) ATTRIBUTE_UNUSED; // DO NOT IMPLEMENT
Directive(const Directive&); // DO NOT IMPLEMENT
void operator=(const Directive&); // DO NOT IMPLEMENT
};
/// StandardDirective - Directive with string matching.