2007-11-30 02:05:17 +03:00
|
|
|
//===--- ASTConsumer.cpp - Abstract interface for reading ASTs --*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 22:59:25 +03:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2007-11-30 02:05:17 +03:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file defines the ASTConsumer class.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "clang/AST/ASTConsumer.h"
|
2009-03-29 20:50:03 +04:00
|
|
|
#include "clang/AST/DeclGroup.h"
|
2007-11-30 02:05:17 +03:00
|
|
|
using namespace clang;
|
|
|
|
|
2011-11-18 04:26:59 +04:00
|
|
|
bool ASTConsumer::HandleTopLevelDecl(DeclGroupRef D) {
|
|
|
|
return true;
|
|
|
|
}
|
2009-03-29 20:50:03 +04:00
|
|
|
|
2010-08-11 22:52:41 +04:00
|
|
|
void ASTConsumer::HandleInterestingDecl(DeclGroupRef D) {
|
|
|
|
HandleTopLevelDecl(D);
|
|
|
|
}
|
2011-10-17 23:48:13 +04:00
|
|
|
|
|
|
|
void ASTConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef D) {}
|