forked from OSchip/llvm-project
Remove ATTRIBUTE_UNUSED from the common pattern of disallowing copying.
llvm-svn: 111101
This commit is contained in:
parent
04c7fa09e4
commit
499e6e49e7
|
@ -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);
|
||||
};
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue