mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -68,6 +68,7 @@ class RecordKeeper;
|
||||
|
||||
class RecTy {
|
||||
ListRecTy *ListTy;
|
||||
virtual void anchor();
|
||||
public:
|
||||
RecTy() : ListTy(0) {}
|
||||
virtual ~RecTy() {}
|
||||
@@ -489,6 +490,7 @@ RecTy *resolveTypes(RecTy *T1, RecTy *T2);
|
||||
class Init {
|
||||
Init(const Init &); // Do not define.
|
||||
Init &operator=(const Init &); // Do not define.
|
||||
virtual void anchor();
|
||||
|
||||
protected:
|
||||
Init(void) {}
|
||||
@@ -617,6 +619,7 @@ class UnsetInit : public Init {
|
||||
UnsetInit() : Init() {}
|
||||
UnsetInit(const UnsetInit &); // Do not define.
|
||||
UnsetInit &operator=(const UnsetInit &Other); // Do not define.
|
||||
virtual void anchor();
|
||||
|
||||
public:
|
||||
static UnsetInit *get();
|
||||
@@ -638,6 +641,7 @@ class BitInit : public Init {
|
||||
explicit BitInit(bool V) : Value(V) {}
|
||||
BitInit(const BitInit &Other); // Do not define.
|
||||
BitInit &operator=(BitInit &Other); // Do not define.
|
||||
virtual void anchor();
|
||||
|
||||
public:
|
||||
static BitInit *get(bool V);
|
||||
@@ -750,6 +754,7 @@ class StringInit : public TypedInit {
|
||||
|
||||
StringInit(const StringInit &Other); // Do not define.
|
||||
StringInit &operator=(const StringInit &Other); // Do not define.
|
||||
virtual void anchor();
|
||||
|
||||
public:
|
||||
static StringInit *get(const std::string &V);
|
||||
@@ -792,6 +797,7 @@ class CodeInit : public Init {
|
||||
|
||||
CodeInit(const CodeInit &Other); // Do not define.
|
||||
CodeInit &operator=(const CodeInit &Other); // Do not define.
|
||||
virtual void anchor();
|
||||
|
||||
public:
|
||||
static CodeInit *get(const std::string &V);
|
||||
|
@@ -21,6 +21,7 @@ class raw_ostream;
|
||||
class RecordKeeper;
|
||||
|
||||
class TableGenAction {
|
||||
virtual void anchor();
|
||||
public:
|
||||
virtual ~TableGenAction() {}
|
||||
|
||||
|
@@ -24,6 +24,7 @@ class Record;
|
||||
class RecordKeeper;
|
||||
|
||||
struct TableGenBackend {
|
||||
virtual void anchor();
|
||||
virtual ~TableGenBackend() {}
|
||||
|
||||
// run - All TableGen backends should implement the run method, which should
|
||||
|
Reference in New Issue
Block a user