Home
last modified time | relevance | path

Searched refs:NonOwner1 (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.cpp378 …TemplateValue<int *> NonOwner1(new int(42)); // Bad, T is int *, hence dynamic memory to non-… in test_templates() local
379 gsl::owner<int *> IntOwner1 = NonOwner1.getVal(); // Bad, since owner initialized with non-owner in test_templates()