mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-03 19:15:30 +00:00
Make a few more LLVM headers parsable as standalone headers.
Fix some problems with the hidden copy constructors for ImmutableMap/ImmutableSet found by Clang++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86186 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
489b83302c
commit
0c8ae782cb
@ -102,8 +102,8 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
Factory(const Factory& RHS) {};
|
||||
void operator=(const Factory& RHS) {};
|
||||
Factory(const Factory& RHS); // DO NOT IMPLEMENT
|
||||
void operator=(const Factory& RHS); // DO NOT IMPLEMENT
|
||||
};
|
||||
|
||||
friend class Factory;
|
||||
|
@ -988,8 +988,8 @@ public:
|
||||
BumpPtrAllocator& getAllocator() { return F.getAllocator(); }
|
||||
|
||||
private:
|
||||
Factory(const Factory& RHS) {}
|
||||
void operator=(const Factory& RHS) {}
|
||||
Factory(const Factory& RHS); // DO NOT IMPLEMENT
|
||||
void operator=(const Factory& RHS); // DO NOT IMPLEMENT
|
||||
};
|
||||
|
||||
friend class Factory;
|
||||
|
@ -14,6 +14,7 @@
|
||||
#ifndef LLVM_ADT_PRIORITY_QUEUE_H
|
||||
#define LLVM_ADT_PRIORITY_QUEUE_H
|
||||
|
||||
#include <algorithm>
|
||||
#include <queue>
|
||||
|
||||
namespace llvm {
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "llvm/ADT/GraphTraits.h"
|
||||
#include "llvm/Support/DOTGraphTraits.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <vector>
|
||||
|
||||
namespace llvm {
|
||||
|
@ -15,6 +15,7 @@
|
||||
#ifndef LLVM_CODEGEN_BINARYOBJECT_H
|
||||
#define LLVM_CODEGEN_BINARYOBJECT_H
|
||||
|
||||
#include "llvm/CodeGen/MachineRelocation.h"
|
||||
#include "llvm/System/DataTypes.h"
|
||||
|
||||
#include <string>
|
||||
@ -22,7 +23,6 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class MachineRelocation;
|
||||
typedef std::vector<uint8_t> BinaryData;
|
||||
|
||||
class BinaryObject {
|
||||
|
@ -16,6 +16,7 @@
|
||||
#define LLVM_CODEGEN_LINKALLASMWRITERCOMPONENTS_H
|
||||
|
||||
#include "llvm/CodeGen/GCs.h"
|
||||
#include <cstdlib>
|
||||
|
||||
namespace {
|
||||
struct ForceAsmWriterLinking {
|
||||
|
@ -15,6 +15,8 @@
|
||||
#ifndef LLVM_CODEGEN_MACHO_RELOCATION_H
|
||||
#define LLVM_CODEGEN_MACHO_RELOCATION_H
|
||||
|
||||
#include "llvm/System/DataTypes.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
/// MachORelocation - This struct contains information about each relocation
|
||||
|
@ -17,6 +17,8 @@
|
||||
#ifndef EE_MACHINE_CODE_INFO_H
|
||||
#define EE_MACHINE_CODE_INFO_H
|
||||
|
||||
#include "llvm/System/DataTypes.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class MachineCodeInfo {
|
||||
|
@ -16,6 +16,8 @@
|
||||
#ifndef LLVM_CODEGEN_MACHINEMEMOPERAND_H
|
||||
#define LLVM_CODEGEN_MACHINEMEMOPERAND_H
|
||||
|
||||
#include "llvm/System/DataTypes.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Value;
|
||||
|
@ -15,7 +15,11 @@
|
||||
#ifndef LLVM_TRANSFORMS_RSPROFILING_H
|
||||
#define LLVM_TRANSFORMS_RSPROFILING_H
|
||||
|
||||
#include "llvm/Pass.h"
|
||||
|
||||
namespace llvm {
|
||||
class Value;
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
/// RSProfilers - The basic Random Sampling Profiler Interface Any profiler
|
||||
/// that implements this interface can be transformed by the random sampling
|
||||
|
@ -22,6 +22,7 @@
|
||||
#ifndef LLVM_TRANSFORMS_UTILS_SSI_H
|
||||
#define LLVM_TRANSFORMS_UTILS_SSI_H
|
||||
|
||||
#include "llvm/InstrTypes.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user