Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dperformance-move-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_;
/external/llvm/unittests/ADT/
DOptionalTest.cpp327 struct Immovable { struct
331 explicit Immovable(int val) : val(val) { in Immovable() argument
334 ~Immovable() { in ~Immovable() argument
343 Immovable(Immovable&& other) = delete;
346 unsigned Immovable::Constructions = 0;
347 unsigned Immovable::Destructions = 0;
350 Optional<Immovable> A; in TEST_F()
351 Immovable::ResetCounts(); in TEST_F()
355 EXPECT_EQ(1u, Immovable::Constructions); in TEST_F()
356 EXPECT_EQ(0u, Immovable::Destructions); in TEST_F()
DStringMapTest.cpp287 struct Immovable { struct
288 Immovable() {} in Immovable() function
289 Immovable(Immovable&&) = delete; // will disable the other special members
295 MoveOnly(const Immovable&) : i(0) {} in MoveOnly()
317 StringMapEntry<MoveOnly>::Create(Key, Immovable()) in TEST_F()
/external/llvm-project/llvm/unittests/ADT/
DOptionalTest.cpp358 struct Immovable { struct
362 explicit Immovable(int val) : val(val) { in Immovable() argument
365 ~Immovable() { in ~Immovable() argument
374 Immovable(Immovable&& other) = delete;
377 unsigned Immovable::Constructions = 0;
378 unsigned Immovable::Destructions = 0;
380 static_assert(!std::is_trivially_copyable<Optional<Immovable>>::value,
384 Optional<Immovable> A; in TEST()
385 Immovable::ResetCounts(); in TEST()
389 EXPECT_EQ(1u, Immovable::Constructions); in TEST()
[all …]
DStringMapTest.cpp333 struct Immovable { struct
334 Immovable() {} in Immovable() argument
335 Immovable(Immovable&&) = delete; // will disable the other special members
341 MoveOnly(const Immovable&) : i(0) {} in MoveOnly()
364 StringMapEntry<MoveOnly>::Create(Key, Allocator, Immovable()) in TEST_F()
/external/brotli/tests/testdata/
Dplrabn12.txt1476 Immovable, infixed, and frozen round