ExternalASTSource.cpp revision 224145
10SN/A//===- ExternalASTSource.cpp - Abstract External AST Interface --*- C++ -*-===//
28969SN/A//
30SN/A//                     The LLVM Compiler Infrastructure
40SN/A//
50SN/A// This file is distributed under the University of Illinois Open Source
60SN/A// License. See LICENSE.TXT for details.
72362SN/A//
80SN/A//===----------------------------------------------------------------------===//
92362SN/A//
100SN/A//  This file provides the default implementation of the ExternalASTSource
110SN/A//  interface, which enables construction of AST nodes from some external
120SN/A//  source.
130SN/A//
140SN/A//===----------------------------------------------------------------------===//
150SN/A
160SN/A#include "clang/AST/ExternalASTSource.h"
170SN/A#include "clang/AST/DeclarationName.h"
180SN/A
190SN/Ausing namespace clang;
200SN/A
212362SN/AExternalASTSource::~ExternalASTSource() { }
222362SN/A
232362SN/Avoid ExternalASTSource::PrintStats() { }
240SN/A
250SN/ADecl *ExternalASTSource::GetExternalDecl(uint32_t ID) {
268969SN/A  return 0;
278969SN/A}
280SN/A
290SN/ASelector ExternalASTSource::GetExternalSelector(uint32_t ID) {
300SN/A  return Selector();
310SN/A}
320SN/A
330SN/Auint32_t ExternalASTSource::GetNumExternalSelectors() {
340SN/A   return 0;
350SN/A}
360SN/A
370SN/AStmt *ExternalASTSource::GetExternalDeclStmt(uint64_t Offset) {
380SN/A  return 0;
390SN/A}
400SN/A
418969SN/ACXXBaseSpecifier *
428969SN/AExternalASTSource::GetExternalCXXBaseSpecifiers(uint64_t Offset) {
438969SN/A  return 0;
448969SN/A}
458969SN/A
468969SN/ADeclContextLookupResult
474123SN/AExternalASTSource::FindExternalVisibleDeclsByName(const DeclContext *DC,
480SN/A                                                  DeclarationName Name) {
490SN/A  return DeclContext::lookup_result();
500SN/A}
510SN/A
528969SN/Avoid ExternalASTSource::MaterializeVisibleDecls(const DeclContext *DC) { }
530SN/A
540SN/AExternalLoadResult
550SN/AExternalASTSource::FindExternalLexicalDecls(const DeclContext *DC,
560SN/A                                            bool (*isKindWeWant)(Decl::Kind),
570SN/A                                         llvm::SmallVectorImpl<Decl*> &Result) {
580SN/A  return ELR_AlreadyLoaded;
598969SN/A}
600SN/A
610SN/Avoid ExternalASTSource::getMemoryBufferSizes(MemoryBufferSizes &sizes) const { }
620SN/A