Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments.
llvm-svn: 163983
This commit is contained in:
parent
ecee975834
commit
a664e5b88f
|
@ -2027,8 +2027,8 @@ public:
|
||||||
static unsigned NumImplicitDestructorsDeclared;
|
static unsigned NumImplicitDestructorsDeclared;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ASTContext(const ASTContext&); // DO NOT IMPLEMENT
|
ASTContext(const ASTContext &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const ASTContext&); // DO NOT IMPLEMENT
|
void operator=(const ASTContext &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// \brief Initialize built-in types.
|
/// \brief Initialize built-in types.
|
||||||
|
|
|
@ -33,8 +33,8 @@ class ObjCPropertyImplDecl;
|
||||||
class CXXCtorInitializer;
|
class CXXCtorInitializer;
|
||||||
|
|
||||||
class ObjCListBase {
|
class ObjCListBase {
|
||||||
void operator=(const ObjCListBase &); // DO NOT IMPLEMENT
|
ObjCListBase(const ObjCListBase &) LLVM_DELETED_FUNCTION;
|
||||||
ObjCListBase(const ObjCListBase&); // DO NOT IMPLEMENT
|
void operator=(const ObjCListBase &) LLVM_DELETED_FUNCTION;
|
||||||
protected:
|
protected:
|
||||||
/// List is an array of pointers to objects that are not owned by this object.
|
/// List is an array of pointers to objects that are not owned by this object.
|
||||||
void **List;
|
void **List;
|
||||||
|
|
|
@ -1132,8 +1132,8 @@ class APNumericStorage {
|
||||||
|
|
||||||
bool hasAllocation() const { return llvm::APInt::getNumWords(BitWidth) > 1; }
|
bool hasAllocation() const { return llvm::APInt::getNumWords(BitWidth) > 1; }
|
||||||
|
|
||||||
APNumericStorage(const APNumericStorage&); // do not implement
|
APNumericStorage(const APNumericStorage &) LLVM_DELETED_FUNCTION;
|
||||||
APNumericStorage& operator=(const APNumericStorage&); // do not implement
|
void operator=(const APNumericStorage &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
APNumericStorage() : VAL(0), BitWidth(0) { }
|
APNumericStorage() : VAL(0), BitWidth(0) { }
|
||||||
|
|
|
@ -136,8 +136,8 @@ private:
|
||||||
|
|
||||||
void Destroy(ASTContext &Ctx);
|
void Destroy(ASTContext &Ctx);
|
||||||
|
|
||||||
ASTRecordLayout(const ASTRecordLayout&); // DO NOT IMPLEMENT
|
ASTRecordLayout(const ASTRecordLayout &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const ASTRecordLayout&); // DO NOT IMPLEMENT
|
void operator=(const ASTRecordLayout &) LLVM_DELETED_FUNCTION;
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/// getAlignment - Get the record alignment in characters.
|
/// getAlignment - Get the record alignment in characters.
|
||||||
|
|
|
@ -1181,8 +1181,8 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Type(const Type&); // DO NOT IMPLEMENT.
|
Type(const Type &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const Type&); // DO NOT IMPLEMENT.
|
void operator=(const Type &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
/// Bitfields required by the Type class.
|
/// Bitfields required by the Type class.
|
||||||
class TypeBitfields {
|
class TypeBitfields {
|
||||||
|
|
|
@ -174,8 +174,8 @@ public:
|
||||||
BoundNodesTree build() const;
|
BoundNodesTree build() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BoundNodesTreeBuilder(const BoundNodesTreeBuilder&); // DO NOT IMPLEMENT
|
BoundNodesTreeBuilder(const BoundNodesTreeBuilder &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const BoundNodesTreeBuilder&); // DO NOT IMPLEMENT
|
void operator=(const BoundNodesTreeBuilder &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
BoundNodesMap Bindings;
|
BoundNodesMap Bindings;
|
||||||
|
|
||||||
|
|
|
@ -837,7 +837,7 @@ class DiagnosticBuilder {
|
||||||
/// call to ForceEmit.
|
/// call to ForceEmit.
|
||||||
mutable bool IsForceEmit;
|
mutable bool IsForceEmit;
|
||||||
|
|
||||||
void operator=(const DiagnosticBuilder&); // DO NOT IMPLEMENT
|
void operator=(const DiagnosticBuilder &) LLVM_DELETED_FUNCTION;
|
||||||
friend class DiagnosticsEngine;
|
friend class DiagnosticsEngine;
|
||||||
|
|
||||||
DiagnosticBuilder()
|
DiagnosticBuilder()
|
||||||
|
|
|
@ -346,8 +346,8 @@ public:
|
||||||
/// actual functionality.
|
/// actual functionality.
|
||||||
class IdentifierIterator {
|
class IdentifierIterator {
|
||||||
private:
|
private:
|
||||||
IdentifierIterator(const IdentifierIterator&); // Do not implement
|
IdentifierIterator(const IdentifierIterator &) LLVM_DELETED_FUNCTION;
|
||||||
IdentifierIterator &operator=(const IdentifierIterator&); // Do not implement
|
void operator=(const IdentifierIterator &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
IdentifierIterator() { }
|
IdentifierIterator() { }
|
||||||
|
@ -695,8 +695,8 @@ public:
|
||||||
/// multi-keyword caching.
|
/// multi-keyword caching.
|
||||||
class SelectorTable {
|
class SelectorTable {
|
||||||
void *Impl; // Actually a SelectorTableImpl
|
void *Impl; // Actually a SelectorTableImpl
|
||||||
SelectorTable(const SelectorTable&); // DISABLED: DO NOT IMPLEMENT
|
SelectorTable(const SelectorTable &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const SelectorTable&); // DISABLED: DO NOT IMPLEMENT
|
void operator=(const SelectorTable &) LLVM_DELETED_FUNCTION;
|
||||||
public:
|
public:
|
||||||
SelectorTable();
|
SelectorTable();
|
||||||
~SelectorTable();
|
~SelectorTable();
|
||||||
|
|
|
@ -33,8 +33,8 @@ namespace driver {
|
||||||
/// ArgList to provide efficient iteration over all instances of a
|
/// ArgList to provide efficient iteration over all instances of a
|
||||||
/// particular option.
|
/// particular option.
|
||||||
class Arg {
|
class Arg {
|
||||||
Arg(const Arg &); // DO NOT IMPLEMENT
|
Arg(const Arg &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const Arg &); // DO NOT IMPLEMENT
|
void operator=(const Arg &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// \brief The option this argument is an instance of.
|
/// \brief The option this argument is an instance of.
|
||||||
|
|
|
@ -94,8 +94,8 @@ namespace driver {
|
||||||
/// and to iterate over groups of arguments.
|
/// and to iterate over groups of arguments.
|
||||||
class ArgList {
|
class ArgList {
|
||||||
private:
|
private:
|
||||||
ArgList(const ArgList &); // DO NOT IMPLEMENT
|
ArgList(const ArgList &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const ArgList &); // DO NOT IMPLEMENT
|
void operator=(const ArgList &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
typedef SmallVector<Arg*, 16> arglist_type;
|
typedef SmallVector<Arg*, 16> arglist_type;
|
||||||
|
|
|
@ -374,8 +374,8 @@ private:
|
||||||
/// \brief Clear out and deallocate
|
/// \brief Clear out and deallocate
|
||||||
void ClearCachedCompletionResults();
|
void ClearCachedCompletionResults();
|
||||||
|
|
||||||
ASTUnit(const ASTUnit&); // DO NOT IMPLEMENT
|
ASTUnit(const ASTUnit &) LLVM_DELETED_FUNCTION;
|
||||||
ASTUnit &operator=(const ASTUnit &); // DO NOT IMPLEMENT
|
void operator=(const ASTUnit &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
explicit ASTUnit(bool MainFileIsAST);
|
explicit ASTUnit(bool MainFileIsAST);
|
||||||
|
|
||||||
|
|
|
@ -130,8 +130,8 @@ class CompilerInstance : public ModuleLoader {
|
||||||
/// The list of active output files.
|
/// The list of active output files.
|
||||||
std::list<OutputFile> OutputFiles;
|
std::list<OutputFile> OutputFiles;
|
||||||
|
|
||||||
void operator=(const CompilerInstance &); // DO NOT IMPLEMENT
|
CompilerInstance(const CompilerInstance &) LLVM_DELETED_FUNCTION;
|
||||||
CompilerInstance(const CompilerInstance&); // DO NOT IMPLEMENT
|
void operator=(const CompilerInstance &) LLVM_DELETED_FUNCTION;
|
||||||
public:
|
public:
|
||||||
CompilerInstance();
|
CompilerInstance();
|
||||||
~CompilerInstance();
|
~CompilerInstance();
|
||||||
|
|
|
@ -146,8 +146,8 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Directive(const Directive&); // DO NOT IMPLEMENT
|
Directive(const Directive &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const Directive&); // DO NOT IMPLEMENT
|
void operator=(const Directive &) LLVM_DELETED_FUNCTION;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::vector<Directive*> DirectiveList;
|
typedef std::vector<Directive*> DirectiveList;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
#define LLVM_CLANG_LEX_HEADERMAP_H
|
#define LLVM_CLANG_LEX_HEADERMAP_H
|
||||||
|
|
||||||
#include "clang/Basic/LLVM.h"
|
#include "clang/Basic/LLVM.h"
|
||||||
|
#include "llvm/Support/Compiler.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class MemoryBuffer;
|
class MemoryBuffer;
|
||||||
|
@ -30,8 +31,8 @@ namespace clang {
|
||||||
/// symlinks to files. Its advantages are that it is dense and more efficient
|
/// symlinks to files. Its advantages are that it is dense and more efficient
|
||||||
/// to create and process than a directory of symlinks.
|
/// to create and process than a directory of symlinks.
|
||||||
class HeaderMap {
|
class HeaderMap {
|
||||||
HeaderMap(const HeaderMap&); // DO NOT IMPLEMENT
|
HeaderMap(const HeaderMap &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const HeaderMap&); // DO NOT IMPLEMENT
|
void operator=(const HeaderMap &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
const llvm::MemoryBuffer *FileBuffer;
|
const llvm::MemoryBuffer *FileBuffer;
|
||||||
bool NeedsBSwap;
|
bool NeedsBSwap;
|
||||||
|
|
|
@ -83,8 +83,8 @@ class Lexer : public PreprocessorLexer {
|
||||||
// CurrentConflictMarkerState - The kind of conflict marker we are handling.
|
// CurrentConflictMarkerState - The kind of conflict marker we are handling.
|
||||||
ConflictMarkerKind CurrentConflictMarkerState;
|
ConflictMarkerKind CurrentConflictMarkerState;
|
||||||
|
|
||||||
Lexer(const Lexer&); // DO NOT IMPLEMENT
|
Lexer(const Lexer &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const Lexer&); // DO NOT IMPLEMENT
|
void operator=(const Lexer &) LLVM_DELETED_FUNCTION;
|
||||||
friend class Preprocessor;
|
friend class Preprocessor;
|
||||||
|
|
||||||
void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd);
|
void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd);
|
||||||
|
|
|
@ -44,8 +44,8 @@ class PTHLexer : public PreprocessorLexer {
|
||||||
/// to process when doing quick skipping of preprocessor blocks.
|
/// to process when doing quick skipping of preprocessor blocks.
|
||||||
const unsigned char* CurPPCondPtr;
|
const unsigned char* CurPPCondPtr;
|
||||||
|
|
||||||
PTHLexer(const PTHLexer&); // DO NOT IMPLEMENT
|
PTHLexer(const PTHLexer &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const PTHLexer&); // DO NOT IMPLEMENT
|
void operator=(const PTHLexer &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
/// ReadToken - Used by PTHLexer to read tokens TokBuf.
|
/// ReadToken - Used by PTHLexer to read tokens TokBuf.
|
||||||
void ReadToken(Token& T);
|
void ReadToken(Token& T);
|
||||||
|
|
|
@ -69,8 +69,8 @@ protected:
|
||||||
/// we are currently in.
|
/// we are currently in.
|
||||||
SmallVector<PPConditionalInfo, 4> ConditionalStack;
|
SmallVector<PPConditionalInfo, 4> ConditionalStack;
|
||||||
|
|
||||||
PreprocessorLexer(const PreprocessorLexer&); // DO NOT IMPLEMENT
|
PreprocessorLexer(const PreprocessorLexer &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const PreprocessorLexer&); // DO NOT IMPLEMENT
|
void operator=(const PreprocessorLexer &) LLVM_DELETED_FUNCTION;
|
||||||
friend class Preprocessor;
|
friend class Preprocessor;
|
||||||
|
|
||||||
PreprocessorLexer(Preprocessor *pp, FileID fid);
|
PreprocessorLexer(Preprocessor *pp, FileID fid);
|
||||||
|
|
|
@ -91,8 +91,8 @@ class TokenLexer {
|
||||||
/// should not be subject to further macro expansion.
|
/// should not be subject to further macro expansion.
|
||||||
bool DisableMacroExpansion : 1;
|
bool DisableMacroExpansion : 1;
|
||||||
|
|
||||||
TokenLexer(const TokenLexer&); // DO NOT IMPLEMENT
|
TokenLexer(const TokenLexer &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const TokenLexer&); // DO NOT IMPLEMENT
|
void operator=(const TokenLexer &) LLVM_DELETED_FUNCTION;
|
||||||
public:
|
public:
|
||||||
/// Create a TokenLexer for the specified macro with the specified actual
|
/// Create a TokenLexer for the specified macro with the specified actual
|
||||||
/// arguments. Note that this ctor takes ownership of the ActualArgs pointer.
|
/// arguments. Note that this ctor takes ownership of the ActualArgs pointer.
|
||||||
|
|
|
@ -655,8 +655,8 @@ private:
|
||||||
/// the parser will exit the scope.
|
/// the parser will exit the scope.
|
||||||
class ParseScope {
|
class ParseScope {
|
||||||
Parser *Self;
|
Parser *Self;
|
||||||
ParseScope(const ParseScope&); // do not implement
|
ParseScope(const ParseScope &) LLVM_DELETED_FUNCTION;
|
||||||
ParseScope& operator=(const ParseScope&); // do not implement
|
void operator=(const ParseScope &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// ParseScope - Construct a new object to manage a scope in the
|
// ParseScope - Construct a new object to manage a scope in the
|
||||||
|
@ -695,8 +695,8 @@ private:
|
||||||
class ParseScopeFlags {
|
class ParseScopeFlags {
|
||||||
Scope *CurScope;
|
Scope *CurScope;
|
||||||
unsigned OldFlags;
|
unsigned OldFlags;
|
||||||
ParseScopeFlags(const ParseScopeFlags &); // do not implement
|
ParseScopeFlags(const ParseScopeFlags &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const ParseScopeFlags &); // do not implement
|
void operator=(const ParseScopeFlags &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ParseScopeFlags(Parser *Self, unsigned ScopeFlags, bool ManageFlags = true);
|
ParseScopeFlags(Parser *Self, unsigned ScopeFlags, bool ManageFlags = true);
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
#ifndef CLANG_REWRITE_DELTATREE_H
|
#ifndef CLANG_REWRITE_DELTATREE_H
|
||||||
#define CLANG_REWRITE_DELTATREE_H
|
#define CLANG_REWRITE_DELTATREE_H
|
||||||
|
|
||||||
|
#include "llvm/Support/Compiler.h"
|
||||||
|
|
||||||
namespace clang {
|
namespace clang {
|
||||||
|
|
||||||
/// DeltaTree - a multiway search tree (BTree) structure with some fancy
|
/// DeltaTree - a multiway search tree (BTree) structure with some fancy
|
||||||
|
@ -25,7 +27,7 @@ namespace clang {
|
||||||
/// as well, without traversing the whole tree.
|
/// as well, without traversing the whole tree.
|
||||||
class DeltaTree {
|
class DeltaTree {
|
||||||
void *Root; // "DeltaTreeNode *"
|
void *Root; // "DeltaTreeNode *"
|
||||||
void operator=(const DeltaTree&); // DO NOT IMPLEMENT
|
void operator=(const DeltaTree &) LLVM_DELETED_FUNCTION;
|
||||||
public:
|
public:
|
||||||
DeltaTree();
|
DeltaTree();
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
#ifndef LLVM_CLANG_REWRITEROPE_H
|
#ifndef LLVM_CLANG_REWRITEROPE_H
|
||||||
#define LLVM_CLANG_REWRITEROPE_H
|
#define LLVM_CLANG_REWRITEROPE_H
|
||||||
|
|
||||||
|
#include "llvm/Support/Compiler.h"
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
@ -153,7 +155,7 @@ namespace clang {
|
||||||
|
|
||||||
class RopePieceBTree {
|
class RopePieceBTree {
|
||||||
void /*RopePieceBTreeNode*/ *Root;
|
void /*RopePieceBTreeNode*/ *Root;
|
||||||
void operator=(const RopePieceBTree &); // DO NOT IMPLEMENT
|
void operator=(const RopePieceBTree &) LLVM_DELETED_FUNCTION;
|
||||||
public:
|
public:
|
||||||
RopePieceBTree();
|
RopePieceBTree();
|
||||||
RopePieceBTree(const RopePieceBTree &RHS);
|
RopePieceBTree(const RopePieceBTree &RHS);
|
||||||
|
|
|
@ -43,8 +43,8 @@ namespace clang {
|
||||||
///
|
///
|
||||||
OwningPtr<ScratchBuffer> ScratchBuf;
|
OwningPtr<ScratchBuffer> ScratchBuf;
|
||||||
|
|
||||||
TokenRewriter(const TokenRewriter&); // DO NOT IMPLEMENT
|
TokenRewriter(const TokenRewriter &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const TokenRewriter&); // DO NOT IMPLEMENT.
|
void operator=(const TokenRewriter &) LLVM_DELETED_FUNCTION;
|
||||||
public:
|
public:
|
||||||
/// TokenRewriter - This creates a TokenRewriter for the file with the
|
/// TokenRewriter - This creates a TokenRewriter for the file with the
|
||||||
/// specified FileID.
|
/// specified FileID.
|
||||||
|
|
|
@ -450,8 +450,8 @@ private:
|
||||||
/// entity being completed by this result.
|
/// entity being completed by this result.
|
||||||
const char *BriefComment;
|
const char *BriefComment;
|
||||||
|
|
||||||
CodeCompletionString(const CodeCompletionString &); // DO NOT IMPLEMENT
|
CodeCompletionString(const CodeCompletionString &) LLVM_DELETED_FUNCTION;
|
||||||
CodeCompletionString &operator=(const CodeCompletionString &); // DITTO
|
void operator=(const CodeCompletionString &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
CodeCompletionString(const Chunk *Chunks, unsigned NumChunks,
|
CodeCompletionString(const Chunk *Chunks, unsigned NumChunks,
|
||||||
unsigned Priority, CXAvailabilityKind Availability,
|
unsigned Priority, CXAvailabilityKind Availability,
|
||||||
|
|
|
@ -383,8 +383,8 @@ private:
|
||||||
T == TST_class);
|
T == TST_class);
|
||||||
}
|
}
|
||||||
|
|
||||||
DeclSpec(const DeclSpec&); // DO NOT IMPLEMENT
|
DeclSpec(const DeclSpec &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const DeclSpec&); // DO NOT IMPLEMENT
|
void operator=(const DeclSpec &) LLVM_DELETED_FUNCTION;
|
||||||
public:
|
public:
|
||||||
|
|
||||||
DeclSpec(AttributeFactory &attrFactory)
|
DeclSpec(AttributeFactory &attrFactory)
|
||||||
|
|
|
@ -220,9 +220,8 @@ class DelayedDiagnosticPool {
|
||||||
const DelayedDiagnosticPool *Parent;
|
const DelayedDiagnosticPool *Parent;
|
||||||
llvm::SmallVector<DelayedDiagnostic, 4> Diagnostics;
|
llvm::SmallVector<DelayedDiagnostic, 4> Diagnostics;
|
||||||
|
|
||||||
// Do not implement.
|
DelayedDiagnosticPool(const DelayedDiagnosticPool &) LLVM_DELETED_FUNCTION;
|
||||||
DelayedDiagnosticPool(const DelayedDiagnosticPool &other);
|
void operator=(const DelayedDiagnosticPool &) LLVM_DELETED_FUNCTION;
|
||||||
DelayedDiagnosticPool &operator=(const DelayedDiagnosticPool &other);
|
|
||||||
public:
|
public:
|
||||||
DelayedDiagnosticPool(const DelayedDiagnosticPool *parent) : Parent(parent) {}
|
DelayedDiagnosticPool(const DelayedDiagnosticPool *parent) : Parent(parent) {}
|
||||||
~DelayedDiagnosticPool() {
|
~DelayedDiagnosticPool() {
|
||||||
|
|
|
@ -187,8 +187,8 @@ typedef std::pair<llvm::PointerUnion<const TemplateTypeParmType*, NamedDecl*>,
|
||||||
|
|
||||||
/// Sema - This implements semantic analysis and AST building for C.
|
/// Sema - This implements semantic analysis and AST building for C.
|
||||||
class Sema {
|
class Sema {
|
||||||
Sema(const Sema&); // DO NOT IMPLEMENT
|
Sema(const Sema &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const Sema&); // DO NOT IMPLEMENT
|
void operator=(const Sema &) LLVM_DELETED_FUNCTION;
|
||||||
mutable const TargetAttributesSema* TheTargetAttributesSema;
|
mutable const TargetAttributesSema* TheTargetAttributesSema;
|
||||||
public:
|
public:
|
||||||
typedef OpaquePtr<DeclGroupRef> DeclGroupPtrTy;
|
typedef OpaquePtr<DeclGroupRef> DeclGroupPtrTy;
|
||||||
|
|
|
@ -46,9 +46,8 @@ class TemplateDeductionInfo {
|
||||||
/// SFINAE while performing template argument deduction.
|
/// SFINAE while performing template argument deduction.
|
||||||
SmallVector<PartialDiagnosticAt, 4> SuppressedDiagnostics;
|
SmallVector<PartialDiagnosticAt, 4> SuppressedDiagnostics;
|
||||||
|
|
||||||
// do not implement these
|
TemplateDeductionInfo(const TemplateDeductionInfo &) LLVM_DELETED_FUNCTION;
|
||||||
TemplateDeductionInfo(const TemplateDeductionInfo&);
|
void operator=(const TemplateDeductionInfo &) LLVM_DELETED_FUNCTION;
|
||||||
TemplateDeductionInfo &operator=(const TemplateDeductionInfo&);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TemplateDeductionInfo(ASTContext &Context, SourceLocation Loc)
|
TemplateDeductionInfo(ASTContext &Context, SourceLocation Loc)
|
||||||
|
|
|
@ -758,8 +758,8 @@ private:
|
||||||
ASTReader &Reader;
|
ASTReader &Reader;
|
||||||
enum ReadingKind PrevKind;
|
enum ReadingKind PrevKind;
|
||||||
|
|
||||||
ReadingKindTracker(const ReadingKindTracker&); // do not implement
|
ReadingKindTracker(const ReadingKindTracker &) LLVM_DELETED_FUNCTION;
|
||||||
ReadingKindTracker &operator=(const ReadingKindTracker&);// do not implement
|
void operator=(const ReadingKindTracker &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ReadingKindTracker(enum ReadingKind newKind, ASTReader &reader)
|
ReadingKindTracker(enum ReadingKind newKind, ASTReader &reader)
|
||||||
|
@ -862,8 +862,8 @@ private:
|
||||||
void Error(unsigned DiagID, StringRef Arg1 = StringRef(),
|
void Error(unsigned DiagID, StringRef Arg1 = StringRef(),
|
||||||
StringRef Arg2 = StringRef());
|
StringRef Arg2 = StringRef());
|
||||||
|
|
||||||
ASTReader(const ASTReader&); // do not implement
|
ASTReader(const ASTReader &) LLVM_DELETED_FUNCTION;
|
||||||
ASTReader &operator=(const ASTReader &); // do not implement
|
void operator=(const ASTReader &) LLVM_DELETED_FUNCTION;
|
||||||
public:
|
public:
|
||||||
/// \brief Load the AST file and validate its contents against the given
|
/// \brief Load the AST file and validate its contents against the given
|
||||||
/// Preprocessor.
|
/// Preprocessor.
|
||||||
|
|
|
@ -108,8 +108,8 @@ public:
|
||||||
class Builder {
|
class Builder {
|
||||||
ContinuousRangeMap &Self;
|
ContinuousRangeMap &Self;
|
||||||
|
|
||||||
Builder(const Builder&); // DO NOT IMPLEMENT
|
Builder(const Builder&) LLVM_DELETED_FUNCTION;
|
||||||
Builder &operator=(const Builder&); // DO NOT IMPLEMENT
|
Builder &operator=(const Builder&) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Builder(ContinuousRangeMap &Self) : Self(Self) { }
|
explicit Builder(ContinuousRangeMap &Self) : Self(Self) { }
|
||||||
|
|
|
@ -120,8 +120,7 @@ private:
|
||||||
const LocationContext *LCtx;
|
const LocationContext *LCtx;
|
||||||
llvm::PointerUnion<const Expr *, const Decl *> Origin;
|
llvm::PointerUnion<const Expr *, const Decl *> Origin;
|
||||||
|
|
||||||
// DO NOT IMPLEMENT
|
void operator=(const CallEvent &) LLVM_DELETED_FUNCTION;
|
||||||
CallEvent &operator=(const CallEvent &);
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// This is user data for subclasses.
|
// This is user data for subclasses.
|
||||||
|
|
|
@ -97,8 +97,8 @@ private:
|
||||||
ExplodedNode *Pred);
|
ExplodedNode *Pred);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
CoreEngine(const CoreEngine&); // Do not implement.
|
CoreEngine(const CoreEngine &) LLVM_DELETED_FUNCTION;
|
||||||
CoreEngine& operator=(const CoreEngine&);
|
void operator=(const CoreEngine &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
ExplodedNode *generateCallExitBeginNode(ExplodedNode *N);
|
ExplodedNode *generateCallExitBeginNode(ExplodedNode *N);
|
||||||
|
|
||||||
|
|
|
@ -789,8 +789,8 @@ protected:
|
||||||
void setDataSize(CharUnits NewSize) { DataSize = Context.toBits(NewSize); }
|
void setDataSize(CharUnits NewSize) { DataSize = Context.toBits(NewSize); }
|
||||||
void setDataSize(uint64_t NewSize) { DataSize = NewSize; }
|
void setDataSize(uint64_t NewSize) { DataSize = NewSize; }
|
||||||
|
|
||||||
RecordLayoutBuilder(const RecordLayoutBuilder&); // DO NOT IMPLEMENT
|
RecordLayoutBuilder(const RecordLayoutBuilder &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const RecordLayoutBuilder&); // DO NOT IMPLEMENT
|
void operator=(const RecordLayoutBuilder &) LLVM_DELETED_FUNCTION;
|
||||||
public:
|
public:
|
||||||
static const CXXMethodDecl *ComputeKeyFunction(const CXXRecordDecl *RD);
|
static const CXXMethodDecl *ComputeKeyFunction(const CXXRecordDecl *RD);
|
||||||
};
|
};
|
||||||
|
|
|
@ -166,8 +166,8 @@ public:
|
||||||
class CGRecordLayout {
|
class CGRecordLayout {
|
||||||
friend class CodeGenTypes;
|
friend class CodeGenTypes;
|
||||||
|
|
||||||
CGRecordLayout(const CGRecordLayout&); // DO NOT IMPLEMENT
|
CGRecordLayout(const CGRecordLayout &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const CGRecordLayout&); // DO NOT IMPLEMENT
|
void operator=(const CGRecordLayout &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// The LLVM type corresponding to this record layout; used when
|
/// The LLVM type corresponding to this record layout; used when
|
||||||
|
|
|
@ -532,8 +532,8 @@ public:
|
||||||
/// CodeGenFunction - This class organizes the per-function state that is used
|
/// CodeGenFunction - This class organizes the per-function state that is used
|
||||||
/// while generating LLVM code.
|
/// while generating LLVM code.
|
||||||
class CodeGenFunction : public CodeGenTypeCache {
|
class CodeGenFunction : public CodeGenTypeCache {
|
||||||
CodeGenFunction(const CodeGenFunction&); // DO NOT IMPLEMENT
|
CodeGenFunction(const CodeGenFunction &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const CodeGenFunction&); // DO NOT IMPLEMENT
|
void operator=(const CodeGenFunction &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
friend class CGCXXABI;
|
friend class CGCXXABI;
|
||||||
public:
|
public:
|
||||||
|
@ -794,8 +794,8 @@ public:
|
||||||
bool OldDidCallStackSave;
|
bool OldDidCallStackSave;
|
||||||
bool PerformCleanup;
|
bool PerformCleanup;
|
||||||
|
|
||||||
RunCleanupsScope(const RunCleanupsScope &); // DO NOT IMPLEMENT
|
RunCleanupsScope(const RunCleanupsScope &) LLVM_DELETED_FUNCTION;
|
||||||
RunCleanupsScope &operator=(const RunCleanupsScope &); // DO NOT IMPLEMENT
|
void operator=(const RunCleanupsScope &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
CodeGenFunction& CGF;
|
CodeGenFunction& CGF;
|
||||||
|
@ -838,8 +838,8 @@ public:
|
||||||
SourceRange Range;
|
SourceRange Range;
|
||||||
bool PopDebugStack;
|
bool PopDebugStack;
|
||||||
|
|
||||||
LexicalScope(const LexicalScope &); // DO NOT IMPLEMENT THESE
|
LexicalScope(const LexicalScope &) LLVM_DELETED_FUNCTION;
|
||||||
LexicalScope &operator=(const LexicalScope &);
|
void operator=(const LexicalScope &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// \brief Enter a new cleanup scope.
|
/// \brief Enter a new cleanup scope.
|
||||||
|
|
|
@ -210,8 +210,8 @@ struct ARCEntrypoints {
|
||||||
/// CodeGenModule - This class organizes the cross-function state that is used
|
/// CodeGenModule - This class organizes the cross-function state that is used
|
||||||
/// while generating LLVM code.
|
/// while generating LLVM code.
|
||||||
class CodeGenModule : public CodeGenTypeCache {
|
class CodeGenModule : public CodeGenTypeCache {
|
||||||
CodeGenModule(const CodeGenModule&); // DO NOT IMPLEMENT
|
CodeGenModule(const CodeGenModule &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const CodeGenModule&); // DO NOT IMPLEMENT
|
void operator=(const CodeGenModule &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
typedef std::vector<std::pair<llvm::Constant*, int> > CtorList;
|
typedef std::vector<std::pair<llvm::Constant*, int> > CtorList;
|
||||||
|
|
||||||
|
|
|
@ -87,9 +87,8 @@ namespace clang {
|
||||||
Sema::ParsingDeclState State;
|
Sema::ParsingDeclState State;
|
||||||
bool Popped;
|
bool Popped;
|
||||||
|
|
||||||
// Do not implement.
|
ParsingDeclRAIIObject(const ParsingDeclRAIIObject &) LLVM_DELETED_FUNCTION;
|
||||||
ParsingDeclRAIIObject(const ParsingDeclRAIIObject &other);
|
void operator=(const ParsingDeclRAIIObject &) LLVM_DELETED_FUNCTION;
|
||||||
ParsingDeclRAIIObject &operator=(const ParsingDeclRAIIObject &other);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum NoParent_t { NoParent };
|
enum NoParent_t { NoParent };
|
||||||
|
@ -245,8 +244,9 @@ namespace clang {
|
||||||
/// the way they used to be. This is used to handle __extension__ in the
|
/// the way they used to be. This is used to handle __extension__ in the
|
||||||
/// parser.
|
/// parser.
|
||||||
class ExtensionRAIIObject {
|
class ExtensionRAIIObject {
|
||||||
void operator=(const ExtensionRAIIObject &); // DO NOT IMPLEMENT
|
ExtensionRAIIObject(const ExtensionRAIIObject &) LLVM_DELETED_FUNCTION;
|
||||||
ExtensionRAIIObject(const ExtensionRAIIObject&); // DO NOT IMPLEMENT
|
void operator=(const ExtensionRAIIObject &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
DiagnosticsEngine &Diags;
|
DiagnosticsEngine &Diags;
|
||||||
public:
|
public:
|
||||||
ExtensionRAIIObject(DiagnosticsEngine &diags) : Diags(diags) {
|
ExtensionRAIIObject(DiagnosticsEngine &diags) : Diags(diags) {
|
||||||
|
|
|
@ -116,7 +116,7 @@ namespace clang {
|
||||||
GlobalDeclID FirstID;
|
GlobalDeclID FirstID;
|
||||||
mutable bool Owning;
|
mutable bool Owning;
|
||||||
|
|
||||||
RedeclarableResult &operator=(RedeclarableResult&); // DO NOT IMPLEMENT
|
void operator=(RedeclarableResult &) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
RedeclarableResult(ASTReader &Reader, GlobalDeclID FirstID)
|
RedeclarableResult(ASTReader &Reader, GlobalDeclID FirstID)
|
||||||
|
@ -162,7 +162,7 @@ namespace clang {
|
||||||
NamedDecl *Existing;
|
NamedDecl *Existing;
|
||||||
mutable bool AddResult;
|
mutable bool AddResult;
|
||||||
|
|
||||||
FindExistingResult &operator=(FindExistingResult&); // DO NOT IMPLEMENT
|
void operator=(FindExistingResult&) LLVM_DELETED_FUNCTION;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FindExistingResult(ASTReader &Reader)
|
FindExistingResult(ASTReader &Reader)
|
||||||
|
|
|
@ -251,8 +251,8 @@ class AttrListInfo {
|
||||||
SmallVector<CXIdxAttrInfo *, 2> CXAttrs;
|
SmallVector<CXIdxAttrInfo *, 2> CXAttrs;
|
||||||
unsigned ref_cnt;
|
unsigned ref_cnt;
|
||||||
|
|
||||||
AttrListInfo(const AttrListInfo&); // DO NOT IMPLEMENT
|
AttrListInfo(const AttrListInfo &) LLVM_DELETED_FUNCTION;
|
||||||
void operator=(const AttrListInfo&); // DO NOT IMPLEMENT
|
void operator=(const AttrListInfo &) LLVM_DELETED_FUNCTION;
|
||||||
public:
|
public:
|
||||||
AttrListInfo(const Decl *D, IndexingContext &IdxCtx);
|
AttrListInfo(const Decl *D, IndexingContext &IdxCtx);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue