clang API Documentation
#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>
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) |
static bool BadSpecifier | ( | T | TNew, |
T | TPrev, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
bool | IsExtension = true |
||
) | [static] |
Definition at line 379 of file DeclSpec.cpp.
References clang::DeclSpec::getSpecifierName().
Referenced by clang::DeclSpec::SetStorageClassSpec(), clang::DeclSpec::SetStorageClassSpecThread(), clang::DeclSpec::SetTypeQual(), clang::DeclSpec::SetTypeSpecComplex(), clang::DeclSpec::SetTypeSpecSign(), and clang::DeclSpec::SetTypeSpecWidth().
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().