forked from OSchip/llvm-project
This is slightly contentious, but, if llvm has gone to addressable
units, we should as well. The problem is the non-predictability of the dimension of the values. I'd love for the dimension to be part of the static type system... but in C++ it is kinda annoying to do. llvm-svn: 83345
This commit is contained in:
parent
4c420eca41
commit
4348c565ad
|
@ -185,6 +185,7 @@ class AlignedAttr : public Attr {
|
|||
public:
|
||||
AlignedAttr(unsigned alignment) : Attr(Aligned), Alignment(alignment) {}
|
||||
|
||||
// FIXME: Should use addressable units, not bits, to match llvm
|
||||
/// getAlignment - The specified alignment in bits.
|
||||
unsigned getAlignment() const { return Alignment; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue