Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Downing-memory.cpp34 gsl::owner<int *> returns_owner2() { return new int(42); } // Ok in returns_owner2() function
96 …const auto owned_int8 = returns_owner2(); // Ok, since type deduction does not eliminate the owner… in test_assignment_and_initialization()