diff options
author | Mike Stump <mrs@apple.com> | 2009-10-05 23:40:59 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-10-05 23:40:59 +0000 |
commit | 8cf7a1a6dd284a356d0cc69448e35f9b13a7b35a (patch) | |
tree | 6431b941f391bfe4435ad42f0d6d18b35a171f9b | |
parent | bd6dbd19781cefd5b5ff9750c8bf86e6c341a68c (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83345 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/Attr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/Attr.h b/include/clang/AST/Attr.h index f7a47364a7..6a5e3666a9 100644 --- a/include/clang/AST/Attr.h +++ b/include/clang/AST/Attr.h @@ -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; } |