clang API Documentation

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 AttrhandleLoopHintAttr (Sema &S, Stmt *St, const AttributeList &A, SourceRange)
static void CheckForIncompatibleAttributes (Sema &S, const SmallVectorImpl< const Attr * > &Attrs)
static AttrProcessStmtAttribute (Sema &S, Stmt *St, const AttributeList &A, SourceRange Range)

Function Documentation

static void CheckForIncompatibleAttributes ( Sema S,
const SmallVectorImpl< const Attr * > &  Attrs 
) [static]
static Attr* handleFallThroughAttr ( Sema S,
Stmt St,
const AttributeList A,
SourceRange  Range 
) [static]
static Attr* handleLoopHintAttr ( Sema S,
Stmt St,
const AttributeList A,
SourceRange   
) [static]
static Attr* ProcessStmtAttribute ( Sema S,
Stmt St,
const AttributeList A,
SourceRange  Range 
) [static]