Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 13 additions & 14 deletions llvm/benchmarks/FormatVariadicBM.cpp
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
//===- FormatVariadicBM.cpp - formatv() benchmark ---------- --------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "benchmark/benchmark.h"
#include "llvm/Support/FormatVariadic.h"
#include <algorithm>
#include <string>
#include <vector>

//===- FormatVariadicBM.cpp - formatv() benchmark ---------- --------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "benchmark/benchmark.h"
#include "llvm/Support/FormatVariadic.h"
#include <algorithm>
#include <string>

using namespace llvm;
using namespace std;

Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/AsmParser/SlotMapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "llvm/AsmParser/NumberedValues.h"
#include "llvm/IR/TrackingMDRef.h"
#include <map>
#include <vector>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/CGData/OutlinedHashTree.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "llvm/Support/raw_ostream.h"

#include <unordered_map>
#include <vector>

namespace llvm {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

#include <memory>
#include <mutex>
#include <vector>

namespace llvm::orc {

Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/ExecutionEngine/Orc/SectCreate.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "llvm/Support/Compiler.h"

#include <utility>
#include <vector>

namespace llvm::orc {

Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/MC/MCAssembler.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <string>
#include <tuple>
#include <utility>
#include <vector>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/ObjectYAML/GOFFYAML.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "llvm/BinaryFormat/GOFF.h"
#include "llvm/ObjectYAML/YAML.h"
#include <cstdint>
#include <vector>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/PassInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

#include "llvm/ADT/StringRef.h"
#include <cassert>
#include <vector>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/Support/Mustache.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
#include "llvm/Support/JSON.h"
#include "llvm/Support/StringSaver.h"
#include <functional>
#include <vector>

namespace llvm::mustache {

Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/TargetParser/XtensaTargetParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#define LLVM_TARGETPARSER_XTENSATARGETPARSER_H

#include "llvm/TargetParser/Triple.h"
#include <vector>

namespace llvm {
class StringRef;
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/CodeGen/DFAPacketizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <cassert>
#include <iterator>
#include <memory>
#include <vector>

using namespace llvm;

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>

using namespace llvm;
using namespace llvm::codeview;
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/ObjCopy/DXContainer/DXContainerObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Object/DXContainer.h"
#include <vector>

namespace llvm {
namespace objcopy {
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include "llvm/CodeGen/ScheduleDAGMutation.h"
#include <memory>
#include <vector>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/ARC/ARCMachineFunctionInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#define LLVM_LIB_TARGET_ARC_ARCMACHINEFUNCTIONINFO_H

#include "llvm/CodeGen/MachineFunction.h"
#include <vector>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/Hexagon/HexagonQFPOptimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <map>
#include <vector>

#define DEBUG_TYPE "hexagon-qfp-optimizer"

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
#include <cstring>
#include <string>
#include <utility>
#include <vector>

using namespace llvm;

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/NVPTX/NVPTXUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <cstdarg>
#include <set>
#include <string>
#include <vector>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/tools/llc/NewPMDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "llvm/IR/DiagnosticHandler.h"
#include "llvm/Support/CodeGen.h"
#include <memory>
#include <vector>

namespace llvm {
class Module;
Expand Down
1 change: 0 additions & 1 deletion llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <cstdint>
#include <limits>
#include <memory>
#include <vector>

#include <poll.h>
#include <sys/mman.h>
Expand Down
1 change: 0 additions & 1 deletion llvm/tools/llvm-ifs/ErrorCollector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "llvm/Support/Error.h"
#include "llvm/Support/WithColor.h"
#include "llvm/Support/raw_ostream.h"
#include <vector>

using namespace llvm;
using namespace llvm::ifs;
Expand Down
1 change: 0 additions & 1 deletion llvm/tools/llvm-reduce/TestRunner.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
#include "llvm/Target/TargetMachine.h"
#include <vector>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/unittests/ADT/ConcurrentHashtableTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "gtest/gtest.h"
#include <limits>
#include <random>
#include <vector>
using namespace llvm;
using namespace parallel;

Expand Down
1 change: 0 additions & 1 deletion llvm/unittests/DebugInfo/LogicalView/StringPoolTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//

#include "llvm/DebugInfo/LogicalView/Core/LVStringPool.h"
#include <vector>

#include "gtest/gtest.h"

Expand Down
2 changes: 0 additions & 2 deletions llvm/unittests/DebugInfo/PDB/NativeSessionTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@

#include "gtest/gtest.h"

#include <vector>

using namespace llvm;
using namespace llvm::pdb;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#include "llvm/ExecutionEngine/Orc/MemoryMapper.h"
#include "llvm/Testing/Support/Error.h"

#include <vector>

using namespace llvm;
using namespace llvm::jitlink;
using namespace llvm::orc;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "gtest/gtest.h"

#include <limits>
#include <vector>

using namespace llvm;
using namespace llvm::orc;
Expand Down
2 changes: 2 additions & 0 deletions llvm/unittests/Support/DynamicLibrary/PipSqueak.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#include "PipSqueak.h"

#include <vector>

struct Global {
std::string *Str;
std::vector<std::string> *Vec;
Expand Down
2 changes: 0 additions & 2 deletions llvm/unittests/Support/DynamicLibrary/PipSqueak.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
#pragma warning(disable: 4530)
#pragma warning(disable: 4577)
#include <string>
#include <vector>
#pragma warning(pop)
#else
#include <string>
#include <vector>
#endif

#if defined(_WIN32) || defined(__CYGWIN__)
Expand Down
1 change: 0 additions & 1 deletion llvm/unittests/TextAPI/TextStubV1Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "llvm/TextAPI/TextAPIWriter.h"
#include "gtest/gtest.h"
#include <string>
#include <vector>

using namespace llvm;
using namespace llvm::MachO;
Expand Down
1 change: 0 additions & 1 deletion llvm/unittests/TextAPI/TextStubV2Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "llvm/TextAPI/TextAPIWriter.h"
#include "gtest/gtest.h"
#include <string>
#include <vector>

using namespace llvm;
using namespace llvm::MachO;
Expand Down
1 change: 0 additions & 1 deletion llvm/unittests/TextAPI/TextStubV4Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "llvm/TextAPI/TextAPIWriter.h"
#include "gtest/gtest.h"
#include <string>
#include <vector>

using namespace llvm;
using namespace llvm::MachO;
Expand Down