1 //===- llvm/unittest/ADT/CountCopyAndMove.cpp - Optional unit tests -------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #include "CountCopyAndMove.h" 10 11 using namespace llvm; 12 13 int CountCopyAndMove::DefaultConstructions = 0; 14 int CountCopyAndMove::ValueConstructions = 0; 15 int CountCopyAndMove::CopyConstructions = 0; 16 int CountCopyAndMove::CopyAssignments = 0; 17 int CountCopyAndMove::MoveConstructions = 0; 18 int CountCopyAndMove::MoveAssignments = 0; 19 int CountCopyAndMove::Destructions = 0; 20