clang API Documentation

Functions
DeclSpec.cpp File Reference
#include "clang/Sema/DeclSpec.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/Expr.h"
#include "clang/AST/NestedNameSpecifier.h"
#include "clang/AST/TypeLoc.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Parse/ParseDiagnostic.h"
#include "clang/Sema/LocInfoType.h"
#include "clang/Sema/ParsedTemplate.h"
#include "clang/Sema/Sema.h"
#include "clang/Sema/SemaDiagnostic.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/ErrorHandling.h"
#include <cstring>
Include dependency graph for DeclSpec.cpp:

Go to the source code of this file.

Functions

static DiagnosticBuilder Diag (DiagnosticsEngine &D, SourceLocation Loc, unsigned DiagID)
template<class T >
static bool BadSpecifier (T TNew, T TPrev, const char *&PrevSpec, unsigned &DiagID, bool IsExtension=true)

Function Documentation

template<class T >
static bool BadSpecifier ( TNew,
TPrev,
const char *&  PrevSpec,
unsigned DiagID,
bool  IsExtension = true 
) [static]
static DiagnosticBuilder Diag ( DiagnosticsEngine D,
SourceLocation  Loc,
unsigned  DiagID 
) [static]

Definition at line 35 of file DeclSpec.cpp.

References clang::DiagnosticsEngine::Report().

Referenced by clang::DeclSpec::Finish().