llvm/clang/lib/Serialization/ASTCommon.cpp

//===--- ASTCommon.cpp - Common stuff for ASTReader/ASTWriter----*- 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
//
//===----------------------------------------------------------------------===//
//
//  This file defines common functions that both ASTReader and ASTWriter use.
//
//===----------------------------------------------------------------------===//

#include "ASTCommon.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/Basic/IdentifierTable.h"
#include "clang/Serialization/ASTDeserializationListener.h"
#include "llvm/Support/DJB.h"

usingnamespaceclang;

// Give ASTDeserializationListener's VTable a home.
ASTDeserializationListener::~ASTDeserializationListener() {}

serialization::TypeIdx
serialization::TypeIdxFromBuiltin(const BuiltinType *BT) {}

unsigned serialization::ComputeHash(Selector Sel) {}

const DeclContext *
serialization::getDefinitiveDeclContext(const DeclContext *DC) {}

bool serialization::isRedeclarableDeclKind(unsigned Kind) {}

bool serialization::needsAnonymousDeclarationNumber(const NamedDecl *D) {}