clang
3.9.0
|
Represents a C++11 static_assert declaration. More...
#include <DeclCXX.h>
Public Member Functions | |
Expr * | getAssertExpr () |
const Expr * | getAssertExpr () const |
StringLiteral * | getMessage () |
const StringLiteral * | getMessage () const |
bool | isFailed () const |
SourceLocation | getRParenLoc () const |
SourceRange | getSourceRange () const override LLVM_READONLY |
Static Public Member Functions | |
static StaticAssertDecl * | Create (ASTContext &C, DeclContext *DC, SourceLocation StaticAssertLoc, Expr *AssertExpr, StringLiteral *Message, SourceLocation RParenLoc, bool Failed) |
static StaticAssertDecl * | CreateDeserialized (ASTContext &C, unsigned ID) |
static bool | classof (const Decl *D) |
static bool | classofKind (Kind K) |
Friends | |
class | ASTDeclReader |
Definition at line 3361 of file DeclCXX.h.
References classofKind().
|
static |
Definition at line 2304 of file DeclCXX.cpp.
References AttributeLangSupport::C.
Referenced by clang::Sema::BuildStaticAssertDeclaration().
|
static |
Definition at line 2314 of file DeclCXX.cpp.
References AttributeLangSupport::C, and ID.
|
inline |
Definition at line 3347 of file DeclCXX.h.
Referenced by clang::ASTDeclWriter::VisitStaticAssertDecl().
|
inline |
|
inline |
Definition at line 3350 of file DeclCXX.h.
Referenced by clang::ASTDeclWriter::VisitStaticAssertDecl().
|
inline |
|
inline |
Definition at line 3355 of file DeclCXX.h.
Referenced by getSourceRange(), and clang::ASTDeclWriter::VisitStaticAssertDecl().
|
inlineoverride |
Definition at line 3357 of file DeclCXX.h.
References getRParenLoc().
|
inline |
Definition at line 3353 of file DeclCXX.h.
Referenced by clang::ASTDeclWriter::VisitStaticAssertDecl().
|
friend |