llvm/clang/unittests/AST/ASTTypeTraitsTest.cpp

//===- unittest/AST/ASTTypeTraits.cpp - AST type traits 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 "clang/AST/ASTTypeTraits.h"
#include "MatchVerifier.h"
#include "gtest/gtest.h"

usingnamespaceclang::ast_matchers;

namespace clang {
namespace {

TEST(ASTNodeKind, NoKind) {}

template <typename T> static ASTNodeKind DNT() {}

TEST(ASTNodeKind, IsNone) {}

TEST(ASTNodeKind, Bases) {}

TEST(DynTypedNode, Clades) {}

TEST(ASTNodeKind, BaseDistances) {}

TEST(ASTNodeKind, SameBase) {}

TEST(ASTNodeKind, DiffBase) {}

TEST(ASTNodeKind, MostDerivedType) {}

TEST(ASTNodeKind, MostDerivedCommonAncestor) {}

struct Foo {};

TEST(ASTNodeKind, UnknownKind) {}

HasPointerIdentity;

TEST(ASTNodeKind, ConstexprHasPointerIdentity) {}

NodeKindIsSame;

TEST(ASTNodeKind, ConstexprIsSame) {}

NodeKindIsNone;

TEST(ASTNodeKind, ConstexprIsNone) {}

TEST(ASTNodeKind, Name) {}

TEST(DynTypedNode, DeclSourceRange) {}

TEST(DynTypedNode, StmtSourceRange) {}

TEST(DynTypedNode, TypeLocSourceRange) {}

TEST(DynTypedNode, NNSLocSourceRange) {}

TEST(DynTypedNode, AttrSourceRange) {}

// FIXME: add tests for ConceptReference once we add an ASTMatcher.

TEST(DynTypedNode, DeclDump) {}

TEST(DynTypedNode, StmtDump) {}

TEST(DynTypedNode, DeclPrint) {}

TEST(DynTypedNode, StmtPrint) {}

TEST(DynTypedNode, QualType) {}

TEST(DynTypedNode, TypeLoc) {}

TEST(DynTypedNode, PointerTypeLoc) {}

} // namespace
}  // namespace clang