mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 12:16:09 +00:00

This patch moves MoveOnly to a header file so that I can use it from another .cpp file. Differential Revision: https://reviews.llvm.org/D139781
16 lines
535 B
C++
16 lines
535 B
C++
//===- llvm/unittest/ADT/MoveOnly.cpp - Optional unit tests ---------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "MoveOnly.h"
|
|
|
|
using namespace llvm;
|
|
|
|
unsigned MoveOnly::MoveConstructions = 0;
|
|
unsigned MoveOnly::Destructions = 0;
|
|
unsigned MoveOnly::MoveAssignments = 0;
|