llvm.org GIT mirror llvm / d59c5f9
Add missing includes. make_unique proliferated everywhere. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230909 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 4 years ago
16 changed file(s) with 25 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
99 #ifndef LLVM_LIB_DEBUGINFO_DWARFUNIT_H
1010 #define LLVM_LIB_DEBUGINFO_DWARFUNIT_H
1111
12 #include "llvm/ADT/STLExtras.h"
1213 #include "llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h"
1314 #include "llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h"
1415 #include "llvm/DebugInfo/DWARF/DWARFDebugRangeList.h"
1414 #ifndef LLVM_TRANSFORMS_UTILS_SIMPLIFYLIBCALLS_H
1515 #define LLVM_TRANSFORMS_UTILS_SIMPLIFYLIBCALLS_H
1616
17 #include "llvm/ADT/STLExtras.h"
1718 #include "llvm/ADT/StringRef.h"
1819 #include "llvm/Analysis/TargetLibraryInfo.h"
1920 #include "llvm/IR/IRBuilder.h"
5151 //===----------------------------------------------------------------------===//
5252
5353 #include "llvm/Analysis/DependenceAnalysis.h"
54 #include "llvm/ADT/STLExtras.h"
5455 #include "llvm/ADT/Statistic.h"
5556 #include "llvm/Analysis/AliasAnalysis.h"
5657 #include "llvm/Analysis/LoopInfo.h"
1212
1313 #include "llvm/AsmParser/Parser.h"
1414 #include "LLParser.h"
15 #include "llvm/ADT/STLExtras.h"
1516 #include "llvm/IR/Module.h"
1617 #include "llvm/Support/MemoryBuffer.h"
1718 #include "llvm/Support/SourceMgr.h"
88
99 #include "llvm/Bitcode/ReaderWriter.h"
1010 #include "BitcodeReader.h"
11 #include "llvm/ADT/STLExtras.h"
1112 #include "llvm/ADT/SmallString.h"
1213 #include "llvm/ADT/SmallVector.h"
1314 #include "llvm/ADT/Triple.h"
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/ExecutionEngine/ExecutionEngine.h"
15 #include "llvm/ADT/STLExtras.h"
1516 #include "llvm/ADT/SmallString.h"
1617 #include "llvm/ADT/Statistic.h"
1718 #include "llvm/ExecutionEngine/GenericValue.h"
66 //
77 //===----------------------------------------------------------------------===//
88
9 #include "llvm/ADT/STLExtras.h"
910 #include "llvm/ADT/Triple.h"
1011 #include "llvm/ExecutionEngine/Orc/CloneSubModule.h"
1112 #include "llvm/ExecutionEngine/Orc/IndirectionUtils.h"
1212
1313 #include "llvm/Object/IRObjectFile.h"
1414 #include "RecordStreamer.h"
15 #include "llvm/ADT/STLExtras.h"
1516 #include "llvm/Bitcode/ReaderWriter.h"
1617 #include "llvm/IR/GVMaterializer.h"
1718 #include "llvm/IR/LLVMContext.h"
1313
1414 #include "llvm/ProfileData/InstrProfReader.h"
1515 #include "InstrProfIndexed.h"
16 #include "llvm/ADT/STLExtras.h"
1617 #include "llvm/ProfileData/InstrProf.h"
1718 #include
1819
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "TGParser.h"
14 #include "llvm/ADT/STLExtras.h"
1415 #include "llvm/ADT/SmallVector.h"
1516 #include "llvm/ADT/StringExtras.h"
1617 #include "llvm/Support/CommandLine.h"
1313 //===----------------------------------------------------------------------===//
1414
1515
16 #include "llvm/ADT/STLExtras.h"
1617 #include "llvm/ADT/Triple.h"
1718 #include "llvm/Analysis/TargetLibraryInfo.h"
1819 #include "llvm/CodeGen/CommandFlags.h"
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/Linker/Linker.h"
15 #include "llvm/ADT/STLExtras.h"
1516 #include "llvm/Bitcode/ReaderWriter.h"
1617 #include "llvm/IR/DiagnosticInfo.h"
1718 #include "llvm/IR/DiagnosticPrinter.h"
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm-c/lto.h"
15 #include "llvm/ADT/STLExtras.h"
1516 #include "llvm/CodeGen/CommandFlags.h"
1617 #include "llvm/IR/LLVMContext.h"
1718 #include "llvm/LTO/LTOCodeGenerator.h"
88
99 #include "llvm/ExecutionEngine/Interpreter.h"
1010 #include "llvm/ExecutionEngine/RTDyldMemoryManager.h"
11 #include "llvm/ADT/STLExtras.h"
1112 #include "llvm/IR/DerivedTypes.h"
1213 #include "llvm/IR/GlobalVariable.h"
1314 #include "llvm/IR/LLVMContext.h"
116116 { \
117117 SmallVector V; \
118118 EXPECT_EQ(REMAINDER, DIDescriptor::splitFlags(FLAGS, V)); \
119 EXPECT_TRUE(makeArrayRef(V).equals VECTOR); \
119 EXPECT_TRUE(makeArrayRef(V).equals(VECTOR)); \
120120 }
121 CHECK_SPLIT(DIDescriptor::FlagPublic, (DIDescriptor::FlagPublic), 0u);
122 CHECK_SPLIT(DIDescriptor::FlagProtected, (DIDescriptor::FlagProtected), 0u);
123 CHECK_SPLIT(DIDescriptor::FlagPrivate, (DIDescriptor::FlagPrivate), 0u);
124 CHECK_SPLIT(DIDescriptor::FlagVector, (DIDescriptor::FlagVector), 0u);
125 CHECK_SPLIT(DIDescriptor::FlagRValueReference, (DIDescriptor::FlagRValueReference), 0u);
126 CHECK_SPLIT(DIDescriptor::FlagFwdDecl | DIDescriptor::FlagVector,
127 (DIDescriptor::FlagFwdDecl, DIDescriptor::FlagVector), 0u);
128 CHECK_SPLIT(0x100000u, (), 0x100000u);
129 CHECK_SPLIT(0x100000u | DIDescriptor::FlagVector, (DIDescriptor::FlagVector),
121 CHECK_SPLIT(DIDescriptor::FlagPublic, {DIDescriptor::FlagPublic}, 0u);
122 CHECK_SPLIT(DIDescriptor::FlagProtected, {DIDescriptor::FlagProtected}, 0u);
123 CHECK_SPLIT(DIDescriptor::FlagPrivate, {DIDescriptor::FlagPrivate}, 0u);
124 CHECK_SPLIT(DIDescriptor::FlagVector, {DIDescriptor::FlagVector}, 0u);
125 CHECK_SPLIT(DIDescriptor::FlagRValueReference, {DIDescriptor::FlagRValueReference}, 0u);
126 unsigned Flags[] = {DIDescriptor::FlagFwdDecl, DIDescriptor::FlagVector};
127 CHECK_SPLIT(DIDescriptor::FlagFwdDecl | DIDescriptor::FlagVector, Flags, 0u);
128 CHECK_SPLIT(0x100000u, {}, 0x100000u);
129 CHECK_SPLIT(0x100000u | DIDescriptor::FlagVector, {DIDescriptor::FlagVector},
130130 0x100000u);
131131 #undef CHECK_SPLIT
132132 }
1717 #include "llvm/ADT/ArrayRef.h"
1818 #include "llvm/ADT/BitVector.h"
1919 #include "llvm/ADT/DenseMap.h"
20 #include "llvm/ADT/STLExtras.h"
2021 #include "llvm/ADT/SetVector.h"
2122 #include "llvm/ADT/SparseBitVector.h"
2223 #include "llvm/CodeGen/MachineValueType.h"