clang API Documentation

Namespaces | Functions
ParseObjc.cpp File Reference
#include "clang/Parse/Parser.h"
#include "RAIIObjectsForParser.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Parse/ParseDiagnostic.h"
#include "clang/Sema/DeclSpec.h"
#include "clang/Sema/PrettyDeclStackTrace.h"
#include "clang/Sema/Scope.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
Include dependency graph for ParseObjc.cpp:

Go to the source code of this file.

Namespaces

namespace  OBJC2

Functions

static void takeDeclAttributes (ParsedAttributes &attrs, AttributeList *list)
static void takeDeclAttributes (ParsedAttributes &attrs, Declarator &D)

Function Documentation

static void takeDeclAttributes ( ParsedAttributes attrs,
AttributeList list 
) [static]

Take all the decl attributes out of the given list and add them to the given attribute set.

Definition at line 825 of file ParseObjc.cpp.

References clang::ParsedAttributes::add(), clang::AttributeList::getNext(), clang::AttributeList::isUsedAsTypeAttr(), and clang::AttributeList::setNext().

Referenced by takeDeclAttributes().

static void takeDeclAttributes ( ParsedAttributes attrs,
Declarator D 
) [static]