From: Mike Stump Date: Mon, 5 Oct 2009 23:40:59 +0000 (+0000) Subject: This is slightly contentious, but, if llvm has gone to addressable X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8cf7a1a6dd284a356d0cc69448e35f9b13a7b35a;p=clang 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 --- 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; }