Home
last modified time | relevance | path

Searched refs:PooledStringPtr (Results 1 – 2 of 2) sorted by relevance

/src/contrib/llvm-project/compiler-rt/lib/orc/
H A Dstring_pool.h27 class PooledStringPtr; variable
31 friend class PooledStringPtr; variable
38 PooledStringPtr intern(std::string S);
55 class PooledStringPtr {
57 friend struct std::hash<PooledStringPtr>;
60 PooledStringPtr() = default;
61 PooledStringPtr(std::nullptr_t) {}
62 PooledStringPtr(const PooledStringPtr &Other) : S(Other.S) {
67 PooledStringPtr &operator=(const PooledStringPtr &Other) {
78 PooledStringPtr(PooledStringPtr &&Other) : S(nullptr) {
[all …]
/src/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dstring_pool_test.cpp55 PooledStringPtr Null; in TEST()
60 PooledStringPtr P1 = SP.intern("s1"); in TEST()
61 PooledStringPtr Null; in TEST()
62 EXPECT_NE(std::hash<PooledStringPtr>()(P1), in TEST()
63 std::hash<PooledStringPtr>()(Null)); in TEST()