#include "clang/AST/ASTConsumer.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Expr.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/Lookup.h"
#include "clang/Sema/SemaInternal.h"
#include <optional>
#include "clang/Basic/AttrSubMatchRulesList.inc"
Go to the source code of this file.
|
#define | ATTR_MATCH_RULE(Value, Spelling, IsAbstract) |
|
#define | ATTR_MATCH_SUB_RULE(Value, Spelling, IsAbstract, Parent, IsNegated) |
|
#define | ATTR_MATCH_RULE(Value, Spelling, IsAbstract) |
|
#define | ATTR_MATCH_SUB_RULE(Value, Spelling, IsAbstract, Parent, IsNegated) |
|
◆ ATTR_MATCH_RULE [1/2]
#define ATTR_MATCH_RULE |
( |
|
Value, |
|
|
|
Spelling, |
|
|
|
IsAbstract |
|
) |
| |
◆ ATTR_MATCH_RULE [2/2]
#define ATTR_MATCH_RULE |
( |
|
Value, |
|
|
|
Spelling, |
|
|
|
IsAbstract |
|
) |
| |
◆ ATTR_MATCH_SUB_RULE [1/2]
#define ATTR_MATCH_SUB_RULE |
( |
|
Value, |
|
|
|
Spelling, |
|
|
|
IsAbstract, |
|
|
|
Parent, |
|
|
|
IsNegated |
|
) |
| |
◆ ATTR_MATCH_SUB_RULE [2/2]
#define ATTR_MATCH_SUB_RULE |
( |
|
Value, |
|
|
|
Spelling, |
|
|
|
IsAbstract, |
|
|
|
Parent, |
|
|
|
IsNegated |
|
) |
| |
◆ VisStack
◆ anonymous enum
◆ addGslOwnerPointerAttributeIfNotExisting()
template<typename Attribute >
◆ checkCommonAttributeFeatures()
template<typename Ty >
static bool checkCommonAttributeFeatures |
( |
Sema & |
S, |
|
|
const Ty * |
Node, |
|
|
const ParsedAttr & |
A, |
|
|
bool |
SkipArgCountCheck |
|
) |
| |
|
static |
Definition at line 1407 of file SemaAttr.cpp.
References clang::ParsedAttr::checkAtLeastNumArgs(), clang::ParsedAttr::checkAtMostNumArgs(), clang::Sema::CheckAttrTarget(), clang::ParsedAttr::checkExactlyNumArgs(), clang::ParsedAttr::diagnoseAppertainsTo(), clang::ParsedAttr::diagnoseLangOpts(), clang::ParsedAttr::diagnoseMutualExclusion(), clang::ParsedAttr::getKind(), clang::ParsedAttr::getMaxArgs(), clang::ParsedAttr::getMinArgs(), clang::ParsedAttr::hasCustomParsing(), clang::ParsedAttr::hasVariadicArg(), Node, and clang::AttributeCommonInfo::UnknownAttribute.
◆ PushPragmaVisibility()