LLVM API Documentation

llvm::AttributeWithIndex Struct Reference

#include <Attributes.h>

Collaboration diagram for llvm::AttributeWithIndex:
[legend]

List of all members.

Static Public Member Functions

static AttributeWithIndex get (unsigned Idx, Attributes Attrs)

Public Attributes

Attributes Attrs
 The attributes that are set, or'd together.
unsigned Index


Detailed Description

This is just a pair of values to associate a set of attributes with an index.

Definition at line 110 of file Attributes.h.


Member Function Documentation

static AttributeWithIndex llvm::AttributeWithIndex::get ( unsigned  Idx,
Attributes  Attrs 
) [inline, static]

Definition at line 116 of file Attributes.h.

References Attrs, Idx, and Index.

Referenced by llvm::AttrListPtr::addAttr(), and llvm::AttrListPtr::removeAttr().


Member Data Documentation

The attributes that are set, or'd together.

Definition at line 111 of file Attributes.h.

Referenced by llvm::AttrListPtr::dump(), get(), StripNest(), and WriteAttributeTable().

Index of the parameter for which the attributes apply. Index 0 is used for return value attributes. Index ~0U is used for function attributes.

Definition at line 112 of file Attributes.h.

Referenced by llvm::AttrListPtr::dump(), get(), StripNest(), VerifyAttributeCount(), and WriteAttributeTable().


The documentation for this struct was generated from the following file: