projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove declarations for methods that do not exist.
[oota-llvm.git]
/
include
/
llvm
/
Pass.h
diff --git
a/include/llvm/Pass.h
b/include/llvm/Pass.h
index 30c864c5231345f39daa1f7df78f2c52d28ab488..3c4d838a465268f42e82a989e84d29bee35140e5 100644
(file)
--- a/
include/llvm/Pass.h
+++ b/
include/llvm/Pass.h
@@
-29,9
+29,7
@@
#ifndef LLVM_PASS_H
#define LLVM_PASS_H
#ifndef LLVM_PASS_H
#define LLVM_PASS_H
-#include "llvm/Support/CBindingWrapping.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Compiler.h"
-#include "llvm-c/Core.h"
#include <string>
namespace llvm {
#include <string>
namespace llvm {
@@
-85,8
+83,8
@@
class Pass {
AnalysisResolver *Resolver; // Used to resolve analysis
const void *PassID;
PassKind Kind;
AnalysisResolver *Resolver; // Used to resolve analysis
const void *PassID;
PassKind Kind;
- void operator=(const Pass&)
LLVM_DELETED_FUNCTION
;
- Pass(const Pass &)
LLVM_DELETED_FUNCTION
;
+ void operator=(const Pass&)
= delete
;
+ Pass(const Pass &)
= delete
;
public:
explicit Pass(PassKind K, char &pid)
public:
explicit Pass(PassKind K, char &pid)
@@
-252,7
+250,7
@@
public:
explicit ModulePass(char &pid) : Pass(PT_Module, pid) {}
// Force out-of-line virtual method.
explicit ModulePass(char &pid) : Pass(PT_Module, pid) {}
// Force out-of-line virtual method.
-
virtual ~ModulePass()
;
+
~ModulePass() override
;
};
};
@@
-281,7
+279,7
@@
public:
: ModulePass(pid) {}
// Force out-of-line virtual method.
: ModulePass(pid) {}
// Force out-of-line virtual method.
-
virtual ~ImmutablePass()
;
+
~ImmutablePass() override
;
};
//===----------------------------------------------------------------------===//
};
//===----------------------------------------------------------------------===//
@@
-371,9
+369,6
@@
protected:
/// @brief This is the storage for the -time-passes option.
extern bool TimePassesIsEnabled;
/// @brief This is the storage for the -time-passes option.
extern bool TimePassesIsEnabled;
-// Create wrappers for C Binding types (see CBindingWrapping.h).
-DEFINE_SIMPLE_CONVERSION_FUNCTIONS(Pass, LLVMPassRef)
-
} // End llvm namespace
// Include support files that contain important APIs commonly used by Passes,
} // End llvm namespace
// Include support files that contain important APIs commonly used by Passes,