llvm.org GIT mirror llvm / 0c8ae78
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 Douglas Gregor 10 years ago
11 changed file(s) with 19 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
101101 }
102102
103103 private:
104 Factory(const Factory& RHS) {};
105 void operator=(const Factory& RHS) {};
104 Factory(const Factory& RHS); // DO NOT IMPLEMENT
105 void operator=(const Factory& RHS); // DO NOT IMPLEMENT
106106 };
107107
108108 friend class Factory;
987987 BumpPtrAllocator& getAllocator() { return F.getAllocator(); }
988988
989989 private:
990 Factory(const Factory& RHS) {}
991 void operator=(const Factory& RHS) {}
990 Factory(const Factory& RHS); // DO NOT IMPLEMENT
991 void operator=(const Factory& RHS); // DO NOT IMPLEMENT
992992 };
993993
994994 friend class Factory;
1313 #ifndef LLVM_ADT_PRIORITY_QUEUE_H
1414 #define LLVM_ADT_PRIORITY_QUEUE_H
1515
16 #include
1617 #include
1718
1819 namespace llvm {
1717 #include "llvm/ADT/GraphTraits.h"
1818 #include "llvm/Support/DOTGraphTraits.h"
1919
20 #include
2021 #include
2122
2223 namespace llvm {
1414 #ifndef LLVM_CODEGEN_BINARYOBJECT_H
1515 #define LLVM_CODEGEN_BINARYOBJECT_H
1616
17 #include "llvm/CodeGen/MachineRelocation.h"
1718 #include "llvm/System/DataTypes.h"
1819
1920 #include
2122
2223 namespace llvm {
2324
24 class MachineRelocation;
2525 typedef std::vector BinaryData;
2626
2727 class BinaryObject {
1515 #define LLVM_CODEGEN_LINKALLASMWRITERCOMPONENTS_H
1616
1717 #include "llvm/CodeGen/GCs.h"
18 #include
1819
1920 namespace {
2021 struct ForceAsmWriterLinking {
1313
1414 #ifndef LLVM_CODEGEN_MACHO_RELOCATION_H
1515 #define LLVM_CODEGEN_MACHO_RELOCATION_H
16
17 #include "llvm/System/DataTypes.h"
1618
1719 namespace llvm {
1820
1515
1616 #ifndef EE_MACHINE_CODE_INFO_H
1717 #define EE_MACHINE_CODE_INFO_H
18
19 #include "llvm/System/DataTypes.h"
1820
1921 namespace llvm {
2022
1414
1515 #ifndef LLVM_CODEGEN_MACHINEMEMOPERAND_H
1616 #define LLVM_CODEGEN_MACHINEMEMOPERAND_H
17
18 #include "llvm/System/DataTypes.h"
1719
1820 namespace llvm {
1921
1414 #ifndef LLVM_TRANSFORMS_RSPROFILING_H
1515 #define LLVM_TRANSFORMS_RSPROFILING_H
1616
17 #include "llvm/Pass.h"
18
1719 namespace llvm {
20 class Value;
21
1822 //===--------------------------------------------------------------------===//
1923 /// RSProfilers - The basic Random Sampling Profiler Interface Any profiler
2024 /// that implements this interface can be transformed by the random sampling
2121 #ifndef LLVM_TRANSFORMS_UTILS_SSI_H
2222 #define LLVM_TRANSFORMS_UTILS_SSI_H
2323
24 #include "llvm/InstrTypes.h"
2425 #include "llvm/Pass.h"
2526 #include "llvm/ADT/DenseMap.h"
2627 #include "llvm/ADT/SmallPtrSet.h"