Skip to content

Commit dbd81ba

Browse files
committed
complete rename of __orc_rt namespace
for 3e04ad4 it's bizzare that none of the builbots were broken, only bazel build https://buildkite.com/llvm-project/upstream-bazel/builds/109623#0191d5d0-2b3e-4ee7-b8dd-1e2580977e9b
1 parent 663e9ce commit dbd81ba

14 files changed

+20
-20
lines changed

compiler-rt/lib/orc/string_pool.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ inline bool StringPool::empty() const {
161161
namespace std {
162162

163163
// Make PooledStringPtrs hashable.
164-
template <> struct hash<__orc_rt::PooledStringPtr> {
165-
size_t operator()(const __orc_rt::PooledStringPtr &A) const {
166-
return hash<__orc_rt::PooledStringPtr::PoolEntryPtr>()(A.S);
164+
template <> struct hash<orc_rt::PooledStringPtr> {
165+
size_t operator()(const orc_rt::PooledStringPtr &A) const {
166+
return hash<orc_rt::PooledStringPtr::PoolEntryPtr>()(A.S);
167167
}
168168
};
169169

compiler-rt/lib/orc/tests/unit/adt_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <sstream>
1717
#include <string>
1818

19-
using namespace __orc_rt;
19+
using namespace orc_rt;
2020

2121
TEST(ADTTest, SpanDefaultConstruction) {
2222
span<int> S;

compiler-rt/lib/orc/tests/unit/bitmask_enum_test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
#include <sstream>
1717
#include <string>
1818

19-
using namespace __orc_rt;
19+
using namespace orc_rt;
2020

2121
namespace {
2222

2323
enum Flags { F0 = 0, F1 = 1, F2 = 2, F3 = 4, F4 = 8 };
2424

2525
} // namespace
2626

27-
namespace __orc_rt {
27+
namespace orc_rt {
2828
ORC_RT_DECLARE_ENUM_AS_BITMASK(Flags, F4);
29-
} // namespace __orc_rt
29+
} // namespace orc_rt
3030

3131
static_assert(is_bitmask_enum<Flags>::value != 0);
3232
static_assert(largest_bitmask_enum_bit<Flags>::value == Flags::F4);

compiler-rt/lib/orc/tests/unit/endian_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "endianness.h"
1616
#include "gtest/gtest.h"
1717

18-
using namespace __orc_rt;
18+
using namespace orc_rt;
1919

2020
TEST(Endian, ByteSwap_32) {
2121
EXPECT_EQ(0x44332211u, ByteSwap_32(0x11223344));

compiler-rt/lib/orc/tests/unit/error_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "error.h"
1818
#include "gtest/gtest.h"
1919

20-
using namespace __orc_rt;
20+
using namespace orc_rt;
2121

2222
namespace {
2323

compiler-rt/lib/orc/tests/unit/executor_address_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "executor_address.h"
1818
#include "gtest/gtest.h"
1919

20-
using namespace __orc_rt;
20+
using namespace orc_rt;
2121

2222
TEST(ExecutorAddrTest, DefaultAndNull) {
2323
// Check that default constructed values and isNull behave as expected.

compiler-rt/lib/orc/tests/unit/executor_symbol_def_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "simple_packed_serialization_utils.h"
1111
#include "gtest/gtest.h"
1212

13-
using namespace __orc_rt;
13+
using namespace orc_rt;
1414

1515
TEST(ExecutorSymbolDefTest, Serialization) {
1616
blobSerializationRoundTrip<SPSExecutorSymbolDef>(ExecutorSymbolDef{});

compiler-rt/lib/orc/tests/unit/extensible_rtti_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "extensible_rtti.h"
1818
#include "gtest/gtest.h"
1919

20-
using namespace __orc_rt;
20+
using namespace orc_rt;
2121

2222
namespace {
2323

compiler-rt/lib/orc/tests/unit/interval_map_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "interval_map.h"
1414
#include "gtest/gtest.h"
1515

16-
using namespace __orc_rt;
16+
using namespace orc_rt;
1717

1818
TEST(IntervalMapTest, DefaultConstructed) {
1919
// Check that a default-constructed IntervalMap behaves as expected.

compiler-rt/lib/orc/tests/unit/interval_set_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "interval_set.h"
1414
#include "gtest/gtest.h"
1515

16-
using namespace __orc_rt;
16+
using namespace orc_rt;
1717

1818
TEST(IntervalSetTest, DefaultConstructed) {
1919
// Check that a default-constructed IntervalSet behaves as expected.

0 commit comments

Comments
 (0)