clang
3.7.0
|
Represents an attribute applied to a statement. More...
#include <Stmt.h>
Public Member Functions | |
SourceLocation | getAttrLoc () const |
ArrayRef< const Attr * > | getAttrs () const |
Stmt * | getSubStmt () |
const Stmt * | getSubStmt () const |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
child_range | children () |
Static Public Member Functions | |
static AttributedStmt * | Create (const ASTContext &C, SourceLocation Loc, ArrayRef< const Attr * > Attrs, Stmt *SubStmt) |
static AttributedStmt * | CreateEmpty (const ASTContext &C, unsigned NumAttrs) |
static bool | classof (const Stmt *T) |
Friends | |
class | ASTStmtReader |
Represents an attribute applied to a statement.
Represents an attribute applied to a statement. For example: [[omp::for(...)]] for (...) { ... }
|
static |
Definition at line 311 of file Stmt.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::Sema::ActOnAttributedStmt(), and clang::ASTNodeImporter::VisitAttributedStmt().
|
static |
Definition at line 320 of file Stmt.cpp.
References clang::ASTContext::Allocate().
|
inline |
Definition at line 862 of file Stmt.h.
Referenced by clang::ASTNodeImporter::VisitAttributedStmt().
Definition at line 863 of file Stmt.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitAttributedStmt(), and clang::ASTNodeImporter::VisitAttributedStmt().
|
inline |
|
inline |
|
inline |
Definition at line 866 of file Stmt.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitAttributedStmt(), and clang::ASTNodeImporter::VisitAttributedStmt().
|
inline |
|
friend |