|
clang
5.0.0
|
#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"Go to the source code of this file.
Functions | |
| static Attr * | handleFallThroughAttr (Sema &S, Stmt *St, const AttributeList &A, SourceRange Range) |
| static Attr * | handleSuppressAttr (Sema &S, Stmt *St, const AttributeList &A, SourceRange Range) |
| static Attr * | handleLoopHintAttr (Sema &S, Stmt *St, const AttributeList &A, SourceRange) |
| static void | CheckForIncompatibleAttributes (Sema &S, const SmallVectorImpl< const Attr * > &Attrs) |
| static Attr * | handleOpenCLUnrollHint (Sema &S, Stmt *St, const AttributeList &A, SourceRange Range) |
| static Attr * | ProcessStmtAttribute (Sema &S, Stmt *St, const AttributeList &A, SourceRange Range) |
|
static |
Definition at line 168 of file SemaStmtAttr.cpp.
References Category, clang::Sema::Context, clang::Sema::Diag(), clang::ASTContext::getLangOpts(), and I.
Referenced by clang::Sema::ProcessStmtAttributes().
|
static |
Definition at line 26 of file SemaStmtAttr.cpp.
References clang::Sema::Context, clang::FixItHint::CreateInsertion(), clang::Sema::Diag(), clang::AttributeList::getAttributeSpellingListIndex(), clang::SourceRange::getBegin(), clang::Sema::getCurFunction(), clang::SourceRange::getEnd(), clang::Sema::getLangOpts(), clang::AttributeList::getLoc(), clang::Sema::getLocForEndOfToken(), clang::Stmt::getLocStart(), clang::AttributeList::getName(), clang::AttributeList::getRange(), clang::AttributeList::getScopeName(), clang::Attr::getSpelling(), and clang::AttributeList::isCXX11Attribute().
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 81 of file SemaStmtAttr.cpp.
References clang::Sema::CheckLoopHintExpr(), clang::Sema::Context, clang::Sema::Diag(), clang::AttributeList::getArgAsExpr(), clang::AttributeList::getArgAsIdent(), clang::Stmt::getLocStart(), clang::IdentifierInfo::getName(), clang::AttributeList::getRange(), clang::Stmt::getStmtClass(), clang::IdentifierLoc::Ident, clang::IdentifierInfo::isStr(), clang::Pragma, and State.
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 251 of file SemaStmtAttr.cpp.
References clang::AANT_ArgumentIntegerConstant, clang::Sema::Context, clang::Sema::Diag(), E, clang::AttributeList::getArgAsExpr(), clang::SourceRange::getBegin(), clang::AttributeList::getLoc(), clang::AttributeList::getName(), clang::AttributeList::getNumArgs(), clang::AttributeList::getRange(), clang::Stmt::getSourceRange(), and clang::Expr::isIntegerConstantExpr().
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 56 of file SemaStmtAttr.cpp.
References clang::Sema::checkStringLiteralArgumentAttr(), clang::Sema::Context, clang::Sema::Diag(), E, clang::AttributeList::getAttributeSpellingListIndex(), clang::AttributeList::getLoc(), clang::AttributeList::getName(), clang::AttributeList::getNumArgs(), clang::AttributeList::getRange(), and I.
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 293 of file SemaStmtAttr.cpp.
References clang::Sema::Diag(), clang::SourceRange::getBegin(), clang::AttributeList::getKind(), clang::AttributeList::getLoc(), clang::Stmt::getLocStart(), clang::AttributeList::getName(), clang::AttributeList::getRange(), handleFallThroughAttr(), handleLoopHintAttr(), handleOpenCLUnrollHint(), handleSuppressAttr(), clang::AttributeList::isDeclspecAttribute(), and clang::AttributeList::UnknownAttribute.
Referenced by clang::Sema::ProcessStmtAttributes().
1.8.6