llvm/clang/lib/AST/ASTTypeTraits.cpp

//===--- ASTTypeTraits.cpp --------------------------------------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
//  Provides a dynamic type identifier and a dynamically typed node container
//  that can be used to store an AST base node at runtime in the same storage in
//  a type safe way.
//
//===----------------------------------------------------------------------===//

#include "clang/AST/ASTTypeTraits.h"
#include "clang/AST/ASTConcept.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/NestedNameSpecifier.h"
#include "clang/AST/OpenMPClause.h"
#include "clang/AST/TypeLoc.h"

usingnamespaceclang;

const ASTNodeKind::KindInfo ASTNodeKind::AllKindInfo[] =;

bool ASTNodeKind::isBaseOf(ASTNodeKind Other) const {}

bool ASTNodeKind::isBaseOf(ASTNodeKind Other, unsigned *Distance) const {}

bool ASTNodeKind::isBaseOf(NodeKindId Base, NodeKindId Derived) {}

bool ASTNodeKind::isBaseOf(NodeKindId Base, NodeKindId Derived,
                           unsigned *Distance) {}

ASTNodeKind ASTNodeKind::getCladeKind() const {}

StringRef ASTNodeKind::asStringRef() const {}

ASTNodeKind ASTNodeKind::getMostDerivedType(ASTNodeKind Kind1,
                                            ASTNodeKind Kind2) {}

ASTNodeKind ASTNodeKind::getMostDerivedCommonAncestor(ASTNodeKind Kind1,
                                                      ASTNodeKind Kind2) {}

ASTNodeKind ASTNodeKind::getFromNode(const Decl &D) {}

ASTNodeKind ASTNodeKind::getFromNode(const Stmt &S) {}

ASTNodeKind ASTNodeKind::getFromNode(const Type &T) {}

 ASTNodeKind ASTNodeKind::getFromNode(const TypeLoc &T) {}

ASTNodeKind ASTNodeKind::getFromNode(const OMPClause &C) {}

ASTNodeKind ASTNodeKind::getFromNode(const Attr &A) {}

void DynTypedNode::print(llvm::raw_ostream &OS,
                         const PrintingPolicy &PP) const {}

void DynTypedNode::dump(llvm::raw_ostream &OS,
                        const ASTContext &Context) const {}

SourceRange DynTypedNode::getSourceRange() const {}