clang  5.0.0
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

#define ATTR_MATCH_RULE (   Value,
  Spelling,
  IsAbstract 
)
#define ATTR_MATCH_RULE (   Value,
  Spelling,
  IsAbstract 
)
#define ATTR_MATCH_SUB_RULE (   Value,
  Spelling,
  IsAbstract,
  Parent,
  IsNegated 
)
Value:
case Value: \
return Parent;
return(__x >> __y)|(__x<< (32-__y))
#define ATTR_MATCH_SUB_RULE (   Value,
  Spelling,
  IsAbstract,
  Parent,
  IsNegated 
)
Value:
case Value: \
return IsNegated;
return(__x >> __y)|(__x<< (32-__y))

Typedef Documentation

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

Definition at line 642 of file SemaAttr.cpp.

Enumeration Type Documentation

anonymous enum : unsigned
Enumerator
NoVisibility 

Definition at line 643 of file SemaAttr.cpp.

Function Documentation

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