clang
10.0.0git
|
#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 "clang/Basic/AttrSubMatchRulesList.inc"
Go to the source code of this file.
Macros | |
#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) |
Typedefs | |
typedef std::vector< std::pair< unsigned, SourceLocation > > | VisStack |
Enumerations | |
enum | : unsigned { NoVisibility = ~0U } |
Functions | |
template<typename Attribute > | |
static void | addGslOwnerPointerAttributeIfNotExisting (ASTContext &Context, CXXRecordDecl *Record) |
static void | PushPragmaVisibility (Sema &S, unsigned type, SourceLocation loc) |
#define ATTR_MATCH_RULE | ( | Value, | |
Spelling, | |||
IsAbstract | |||
) |
#define ATTR_MATCH_RULE | ( | Value, | |
Spelling, | |||
IsAbstract | |||
) |
typedef std::vector<std::pair<unsigned, SourceLocation> > VisStack |
Definition at line 877 of file SemaAttr.cpp.
anonymous enum : unsigned |
Enumerator | |
---|---|
NoVisibility |
Definition at line 878 of file SemaAttr.cpp.
|
static |
Definition at line 89 of file SemaAttr.cpp.
References clang::Decl::hasAttr(), and clang::Redeclarable< decl_type >::redecls().
|
static |
Definition at line 905 of file SemaAttr.cpp.
References clang::Sema::VisContext.
Referenced by clang::Sema::ActOnPragmaVisibility(), and clang::Sema::PushNamespaceVisibilityAttr().