2010-08-26 02:03:47 +04:00
|
|
|
//===--- SemaInternal.h - Internal Sema Interfaces --------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file provides common API and #includes for the internal
|
|
|
|
// implementation of Sema.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_CLANG_SEMA_SEMA_INTERNAL_H
|
|
|
|
#define LLVM_CLANG_SEMA_SEMA_INTERNAL_H
|
|
|
|
|
2012-12-04 13:18:49 +04:00
|
|
|
#include "clang/AST/ASTContext.h"
|
2010-08-26 02:03:47 +04:00
|
|
|
#include "clang/Sema/Sema.h"
|
|
|
|
#include "clang/Sema/SemaDiagnostic.h"
|
2010-08-26 06:13:20 +04:00
|
|
|
|
|
|
|
namespace clang {
|
|
|
|
|
|
|
|
inline PartialDiagnostic Sema::PDiag(unsigned DiagID) {
|
|
|
|
return PartialDiagnostic(DiagID, Context.getDiagAllocator());
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2010-08-26 02:03:47 +04:00
|
|
|
|
|
|
|
#endif
|