|
clang 23.0.0git
|
#include "clang/AST/ASTContext.h"#include "clang/AST/EvaluatedExprVisitor.h"#include "clang/Basic/TargetInfo.h"#include "clang/Sema/DelayedDiagnostic.h"#include "clang/Sema/ParsedAttr.h"#include "clang/Sema/ScopeInfo.h"#include <optional>#include "clang/Sema/AttrParsedAttrImpl.inc"Go to the source code of this file.
Macros | |
| #define | WANT_STMT_MERGE_LOGIC |
| #define WANT_STMT_MERGE_LOGIC |
Definition at line 446 of file SemaStmtAttr.cpp.
|
static |
Definition at line 398 of file SemaStmtAttr.cpp.
References clang::cast(), clang::SemaBase::Diag(), and clang::isa().
Referenced by clang::Sema::CheckRebuiltStmtAttributes(), and clang::Sema::ProcessStmtAttributes().
|
static |
Definition at line 451 of file SemaStmtAttr.cpp.
References clang::Sema::Context, clang::SemaBase::Diag(), and clang::ASTContext::getLangOpts().
Referenced by clang::Sema::ProcessStmtAttributes().
|
static |
Definition at line 247 of file SemaStmtAttr.cpp.
References clang::SemaBase::Diag(), and clang::Stmt::getBeginLoc().
Referenced by clang::Sema::CheckAlwaysInlineAttr(), and clang::Sema::CheckNoInlineAttr().
|
static |
Definition at line 314 of file SemaStmtAttr.cpp.
References clang::Sema::CheckAlwaysInlineAttr(), clang::Sema::Context, clang::SemaBase::Diag(), and clang::Stmt::getBeginLoc().
|
static |
Definition at line 640 of file SemaStmtAttr.cpp.
References clang::AANT_ArgumentIdentifier, clang::ParsedAttr::checkAtLeastNumArgs(), clang::Sema::Context, clang::SemaBase::Diag(), clang::ParsedAttr::getArgAsExpr(), clang::ParsedAttr::getArgAsIdent(), clang::Stmt::getBeginLoc(), clang::IdentifierLoc::getIdentifierInfo(), clang::IdentifierLoc::getLoc(), clang::IdentifierInfo::getName(), clang::ParsedAttr::getNumArgs(), and clang::ParsedAttr::isArgIdent().
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 389 of file SemaStmtAttr.cpp.
References clang::Sema::BuildCodeAlignAttr(), and clang::ParsedAttr::getArgAsExpr().
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 329 of file SemaStmtAttr.cpp.
References clang::Sema::ActOnCXXAssumeAttr(), clang::Sema::Context, clang::ActionResult< PtrTy, Compress >::get(), and clang::ActionResult< PtrTy, Compress >::isUsable().
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 24 of file SemaStmtAttr.cpp.
References clang::Sema::Context, clang::FixItHint::CreateInsertion(), clang::SemaBase::Diag(), clang::SourceRange::getBegin(), clang::Stmt::getBeginLoc(), clang::Sema::getCurFunction(), clang::Sema::getLangOpts(), clang::AttributeCommonInfo::getLoc(), clang::Sema::getLocForEndOfToken(), clang::AttributeCommonInfo::getRange(), clang::AttributeCommonInfo::getScopeName(), clang::isa(), and clang::AttributeCommonInfo::isCXX11Attribute().
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 634 of file SemaStmtAttr.cpp.
References clang::Sema::Context.
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 608 of file SemaStmtAttr.cpp.
References clang::ParsedAttr::checkAtMostNumArgs(), clang::Sema::CheckLoopHintExpr(), clang::Sema::Context, clang::ParsedAttr::getArgAsExpr(), clang::Stmt::getBeginLoc(), clang::Expr::getIntegerConstantExpr(), clang::ParsedAttr::getNumArgs(), and clang::ParsedAttr::getSemanticSpelling().
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 344 of file SemaStmtAttr.cpp.
References clang::Sema::Context, clang::SemaBase::Diag(), clang::Sema::getLangOpts(), clang::AttributeCommonInfo::getLoc(), clang::AttributeCommonInfo::getScopeName(), and clang::AttributeCommonInfo::isCXX11Attribute().
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 74 of file SemaStmtAttr.cpp.
References clang::Sema::CheckLoopHintExpr(), clang::Sema::Context, clang::SemaBase::Diag(), clang::Expr::EvaluateKnownConstInt(), clang::ParsedAttr::getArgAsExpr(), clang::ParsedAttr::getArgAsIdent(), clang::Sema::getASTContext(), clang::Stmt::getBeginLoc(), clang::IdentifierLoc::getIdentifierInfo(), clang::IdentifierInfo::getName(), clang::isa(), clang::IdentifierInfo::isStr(), and clang::Expr::isValueDependent().
Referenced by ProcessStmtAttribute().
|
static |
|
static |
Definition at line 338 of file SemaStmtAttr.cpp.
References clang::Sema::Context.
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 233 of file SemaStmtAttr.cpp.
References clang::Sema::Context, clang::SemaBase::Diag(), and clang::Stmt::getBeginLoc().
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 299 of file SemaStmtAttr.cpp.
References clang::Sema::CheckNoInlineAttr(), clang::Sema::Context, clang::SemaBase::Diag(), and clang::Stmt::getBeginLoc().
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 220 of file SemaStmtAttr.cpp.
References clang::Sema::Context, clang::SemaBase::Diag(), and clang::Stmt::getBeginLoc().
|
static |
Definition at line 577 of file SemaStmtAttr.cpp.
References clang::AANT_ArgumentIntegerConstant, clang::Sema::Context, clang::SemaBase::Diag(), clang::ParsedAttr::getArgAsExpr(), clang::SourceRange::getBegin(), clang::Expr::getIntegerConstantExpr(), clang::AttributeCommonInfo::getLoc(), clang::ParsedAttr::getNumArgs(), clang::AttributeCommonInfo::getRange(), and clang::Stmt::getSourceRange().
Referenced by ProcessStmtAttribute().
|
static |
|
static |
Definition at line 353 of file SemaStmtAttr.cpp.
References clang::Sema::Context, clang::SemaBase::Diag(), clang::Sema::getLangOpts(), clang::AttributeCommonInfo::getLoc(), clang::AttributeCommonInfo::getScopeName(), and clang::AttributeCommonInfo::isCXX11Attribute().
Referenced by ProcessStmtAttribute().
|
static |
Definition at line 672 of file SemaStmtAttr.cpp.
References clang::Sema::checkCommonAttributeFeatures(), clang::Sema::Context, clang::Sema::CreateAnnotationAttr(), clang::SemaBase::Diag(), clang::Sema::DiagnoseUnknownAttribute(), clang::ParsedAttr::existsInTarget(), clang::ASTContext::getAuxTargetInfo(), clang::SourceRange::getBegin(), clang::Stmt::getBeginLoc(), clang::ParsedAttr::getInfo(), clang::ParsedAttr::getKind(), clang::ASTContext::getLangOpts(), clang::AttributeCommonInfo::getLoc(), clang::AttributeCommonInfo::getRange(), clang::ASTContext::getTargetInfo(), handleAlwaysInlineAttr(), handleAtomicAttr(), handleCodeAlignAttr(), handleCXXAssumeAttr(), handleFallThroughAttr(), handleHLSLControlFlowHint(), handleHLSLLoopHintAttr(), handleLikely(), handleLoopHintAttr(), handleMSConstexprAttr(), handleMustTailAttr(), handleNoConvergentAttr(), handleNoInlineAttr(), handleNoMergeAttr(), handleOpenCLUnrollHint(), handleSuppressAttr(), handleUnlikely(), clang::AttributeCommonInfo::IgnoredAttribute, clang::AttributeCommonInfo::isDeclspecAttribute(), clang::ParsedAttr::isInvalid(), clang::AttributeCommonInfo::isRegularKeywordAttribute(), clang::ParsedAttrInfo::NotHandled, and clang::AttributeCommonInfo::UnknownAttribute.
Referenced by clang::Sema::ProcessStmtAttributes().