clang  14.0.0git
Macros | Functions
SemaStmtAttr.cpp File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/EvaluatedExprVisitor.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Sema/DelayedDiagnostic.h"
#include "clang/Sema/Lookup.h"
#include "clang/Sema/ScopeInfo.h"
#include "clang/Sema/SemaInternal.h"
#include "llvm/ADT/StringExtras.h"
#include "clang/Sema/AttrParsedAttrImpl.inc"
Include dependency graph for SemaStmtAttr.cpp:

Go to the source code of this file.

Macros

#define WANT_STMT_MERGE_LOGIC
 

Functions

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

Macro Definition Documentation

◆ WANT_STMT_MERGE_LOGIC

#define WANT_STMT_MERGE_LOGIC

Definition at line 236 of file SemaStmtAttr.cpp.

Function Documentation

◆ CheckForIncompatibleAttributes()

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

Definition at line 241 of file SemaStmtAttr.cpp.

◆ handleFallThroughAttr()

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

Definition at line 26 of file SemaStmtAttr.cpp.

◆ handleLikely()

static Attr* handleLikely ( Sema S,
Stmt St,
const ParsedAttr A,
SourceRange  Range 
)
static

Definition at line 218 of file SemaStmtAttr.cpp.

◆ handleLoopHintAttr()

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

Definition at line 71 of file SemaStmtAttr.cpp.

◆ handleMustTailAttr()

static Attr* handleMustTailAttr ( Sema S,
Stmt St,
const ParsedAttr A,
SourceRange  Range 
)
static

Definition at line 212 of file SemaStmtAttr.cpp.

◆ handleNoMergeAttr()

static Attr* handleNoMergeAttr ( Sema S,
Stmt St,
const ParsedAttr A,
SourceRange  Range 
)
static

Definition at line 198 of file SemaStmtAttr.cpp.

◆ handleOpenCLUnrollHint()

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

Definition at line 356 of file SemaStmtAttr.cpp.

◆ handleSuppressAttr()

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

Definition at line 53 of file SemaStmtAttr.cpp.

◆ handleUnlikely()

static Attr* handleUnlikely ( Sema S,
Stmt St,
const ParsedAttr A,
SourceRange  Range 
)
static

Definition at line 227 of file SemaStmtAttr.cpp.

◆ ProcessStmtAttribute()

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

Definition at line 387 of file SemaStmtAttr.cpp.