Home
last modified time | relevance | path

Searched refs:Immovable (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dmove-constructor-init.cpp148 struct Immovable { struct
149 Immovable(const Immovable &) = default;
150 Immovable(Immovable &&) = delete;
154 NegativeImmovableParameter(Immovable I) : I_(I) {} in NegativeImmovableParameter()
155 Immovable I_;
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DOptionalTest.cpp408 struct Immovable { struct
415 ~Immovable() { in ~Immovable() argument
424 Immovable(Immovable&& other) = delete;
427 unsigned Immovable::Constructions = 0;
428 unsigned Immovable::Destructions = 0;
434 Optional<Immovable> A; in TEST()
435 Immovable::ResetCounts(); in TEST()
440 EXPECT_EQ(0u, Immovable::Destructions); in TEST()
444 Immovable::ResetCounts(); in TEST()
445 Optional<Immovable> A{in_place, 4}; in TEST()
[all …]
H A DStringMapTest.cpp359 struct Immovable { struct
360 Immovable() {} in Immovable() argument
361 Immovable(Immovable&&) = delete; // will disable the other special members
367 MoveOnly(const Immovable&) : i(0) {} in MoveOnly()
390 StringMapEntry<MoveOnly>::Create(Key, Allocator, Immovable()) in TEST_F()