clang  10.0.0svn
Macros | Functions
Attributes.cpp File Reference
#include "clang/Basic/Attributes.h"
#include "clang/Basic/AttrSubjectMatchRules.h"
#include "clang/Basic/AttributeCommonInfo.h"
#include "clang/Basic/IdentifierTable.h"
#include "llvm/ADT/StringSwitch.h"
#include "clang/Basic/AttrHasAttributeImpl.inc"
#include "clang/Basic/AttrSubMatchRulesList.inc"
#include "clang/Sema/AttrParsedAttrKinds.inc"
#include "clang/Sema/AttrSpellingListIndex.inc"
Include dependency graph for Attributes.cpp:

Go to the source code of this file.

Macros

#define ATTR_MATCH_RULE(NAME, SPELLING, IsAbstract)
 

Functions

static StringRef normalizeAttrScopeName (StringRef ScopeName, AttributeCommonInfo::Syntax SyntaxUsed)
 
static StringRef normalizeAttrName (StringRef AttrName, StringRef NormalizedScopeName, AttributeCommonInfo::Syntax SyntaxUsed)
 

Macro Definition Documentation

◆ ATTR_MATCH_RULE

#define ATTR_MATCH_RULE (   NAME,
  SPELLING,
  IsAbstract 
)
Value:
case attr::NAME: \
return SPELLING;

Function Documentation

◆ normalizeAttrName()

static StringRef normalizeAttrName ( StringRef  AttrName,
StringRef  NormalizedScopeName,
AttributeCommonInfo::Syntax  SyntaxUsed 
)
static

◆ normalizeAttrScopeName()

static StringRef normalizeAttrScopeName ( StringRef  ScopeName,
AttributeCommonInfo::Syntax  SyntaxUsed 
)
static