clang  6.0.0svn
Macros | Typedefs | Enumerations | Functions
SemaAttr.cpp File Reference
#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"
Include dependency graph for SemaAttr.cpp:

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

static void PushPragmaVisibility (Sema &S, unsigned type, SourceLocation loc)
 

Macro Definition Documentation

◆ 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 
)
Value:
case Value: \
return Parent;
NodeId Parent
Definition: ASTDiff.cpp:192

◆ ATTR_MATCH_SUB_RULE [2/2]

#define ATTR_MATCH_SUB_RULE (   Value,
  Spelling,
  IsAbstract,
  Parent,
  IsNegated 
)
Value:
case Value: \
return IsNegated;

Typedef Documentation

◆ VisStack

typedef std::vector<std::pair<unsigned, SourceLocation> > VisStack

Definition at line 709 of file SemaAttr.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : unsigned
Enumerator
NoVisibility 

Definition at line 710 of file SemaAttr.cpp.

Function Documentation

◆ PushPragmaVisibility()

static void PushPragmaVisibility ( Sema S,
unsigned  type,
SourceLocation  loc 
)
static