mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Rearrange some deckchairs. Moving the class before it's use.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173612 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
09dda440ba
commit
08c11d3023
@ -177,7 +177,22 @@ template<> struct DenseMapInfo<Attribute::AttrKind> {
|
||||
|
||||
class AttrBuilder;
|
||||
class AttributeSetImpl;
|
||||
struct AttributeWithIndex;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// \class
|
||||
/// \brief This is just a pair of values to associate a set of attributes with
|
||||
/// an index.
|
||||
struct AttributeWithIndex {
|
||||
Attribute Attrs; ///< The attributes that are set, or'd together.
|
||||
unsigned Index; ///< Index of the parameter for which the attributes apply.
|
||||
|
||||
static AttributeWithIndex get(unsigned Idx, Attribute Attrs) {
|
||||
AttributeWithIndex P;
|
||||
P.Index = Idx;
|
||||
P.Attrs = Attrs;
|
||||
return P;
|
||||
}
|
||||
};
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// \class
|
||||
@ -343,22 +358,6 @@ public:
|
||||
void dump() const;
|
||||
};
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// \class
|
||||
/// \brief This is just a pair of values to associate a set of attributes with
|
||||
/// an index.
|
||||
struct AttributeWithIndex {
|
||||
Attribute Attrs; ///< The attributes that are set, or'd together.
|
||||
unsigned Index; ///< Index of the parameter for which the attributes apply.
|
||||
|
||||
static AttributeWithIndex get(unsigned Idx, Attribute Attrs) {
|
||||
AttributeWithIndex P;
|
||||
P.Index = Idx;
|
||||
P.Attrs = Attrs;
|
||||
return P;
|
||||
}
|
||||
};
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// \class
|
||||
/// \brief This class is used in conjunction with the Attribute::get method to
|
||||
|
Loading…
Reference in New Issue
Block a user