llvm/llvm/unittests/ADT/APSIntTest.cpp

//===- llvm/unittest/ADT/APSIntTest.cpp - APSInt 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 "llvm/ADT/APSInt.h"
#include "gtest/gtest.h"

usingnamespacellvm;

namespace {

TEST(APSIntTest, MoveTest) {}

TEST(APSIntTest, get) {}

TEST(APSIntTest, getUnsigned) {}

TEST(APSIntTest, isRepresentableByInt64) {}
TEST(APSIntTest, getExtValue) {}
TEST(APSIntTest, tryExtValue) {}

TEST(APSIntTest, compareValues) {}

TEST(APSIntTest, FromString) {}

TEST(APSIntTest, FromStringBitWidth) {}

#if defined(GTEST_HAS_DEATH_TEST) && !defined(NDEBUG)

TEST(APSIntTest, StringDeath) {
  EXPECT_DEATH((void)APSInt(""), "Invalid string length");
  EXPECT_DEATH((void)APSInt("1a"), "Invalid character in digit string");
}

#endif

TEST(APSIntTest, SignedHighBit) {}

TEST(APSIntTest, UnsignedHighBit) {}

} // end anonymous namespace