Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dcppcoreguidelines-owning-memory-containers.cpp35 std::vector<gsl::owner<int *>> OwnerStdVector(100, nullptr); in main() local
38 for (auto *Element : OwnerStdVector) { in main()
42 for (auto *Element : OwnerStdVector) { in main()
50 OwnerStdVector[i] = new int(42); in main()
54 delete OwnerStdVector[i]; in main()