xref: /llvm-project/llvm/unittests/ADT/CountCopyAndMove.cpp (revision e8ca306fbefdb8385c53d6cc029251d1d5be7049)
168716573Sc8ef //===- llvm/unittest/ADT/CountCopyAndMove.cpp - Optional unit tests -------===//
268716573Sc8ef //
368716573Sc8ef // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
468716573Sc8ef // See https://llvm.org/LICENSE.txt for license information.
568716573Sc8ef // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
668716573Sc8ef //
768716573Sc8ef //===----------------------------------------------------------------------===//
868716573Sc8ef 
968716573Sc8ef #include "CountCopyAndMove.h"
1068716573Sc8ef 
1168716573Sc8ef using namespace llvm;
1268716573Sc8ef 
13*e8ca306fSDmitry Yanovsky int CountCopyAndMove::DefaultConstructions = 0;
14*e8ca306fSDmitry Yanovsky int CountCopyAndMove::ValueConstructions = 0;
1568716573Sc8ef int CountCopyAndMove::CopyConstructions = 0;
1668716573Sc8ef int CountCopyAndMove::CopyAssignments = 0;
1768716573Sc8ef int CountCopyAndMove::MoveConstructions = 0;
1868716573Sc8ef int CountCopyAndMove::MoveAssignments = 0;
1968716573Sc8ef int CountCopyAndMove::Destructions = 0;
20