clang  6.0.0svn
Functions
SemaStmtAttr.cpp File Reference
#include "clang/Sema/SemaInternal.h"
#include "clang/AST/ASTContext.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Sema/DelayedDiagnostic.h"
#include "clang/Sema/Lookup.h"
#include "clang/Sema/LoopHint.h"
#include "clang/Sema/ScopeInfo.h"
#include "llvm/ADT/StringExtras.h"
Include dependency graph for SemaStmtAttr.cpp:

Go to the source code of this file.

Functions

static AttrhandleFallThroughAttr (Sema &S, Stmt *St, const AttributeList &A, SourceRange Range)
 
static AttrhandleSuppressAttr (Sema &S, Stmt *St, const AttributeList &A, SourceRange Range)
 
static AttrhandleLoopHintAttr (Sema &S, Stmt *St, const AttributeList &A, SourceRange)
 
static void CheckForIncompatibleAttributes (Sema &S, const SmallVectorImpl< const Attr *> &Attrs)
 
static AttrhandleOpenCLUnrollHint (Sema &S, Stmt *St, const AttributeList &A, SourceRange Range)
 
static AttrProcessStmtAttribute (Sema &S, Stmt *St, const AttributeList &A, SourceRange Range)
 

Function Documentation

◆ CheckForIncompatibleAttributes()

static void CheckForIncompatibleAttributes ( Sema S,
const SmallVectorImpl< const Attr *> &  Attrs 
)
static

Definition at line 166 of file SemaStmtAttr.cpp.

◆ handleFallThroughAttr()

static Attr* handleFallThroughAttr ( Sema S,
Stmt St,
const AttributeList A,
SourceRange  Range 
)
static

Definition at line 26 of file SemaStmtAttr.cpp.

◆ handleLoopHintAttr()

static Attr* handleLoopHintAttr ( Sema S,
Stmt St,
const AttributeList A,
SourceRange   
)
static

Definition at line 81 of file SemaStmtAttr.cpp.

◆ handleOpenCLUnrollHint()

static Attr* handleOpenCLUnrollHint ( Sema S,
Stmt St,
const AttributeList A,
SourceRange  Range 
)
static

Definition at line 249 of file SemaStmtAttr.cpp.

◆ handleSuppressAttr()

static Attr* handleSuppressAttr ( Sema S,
Stmt St,
const AttributeList A,
SourceRange  Range 
)
static

Definition at line 56 of file SemaStmtAttr.cpp.

◆ ProcessStmtAttribute()

static Attr* ProcessStmtAttribute ( Sema S,
Stmt St,
const AttributeList A,
SourceRange  Range 
)
static

Definition at line 291 of file SemaStmtAttr.cpp.