From 8cf7a1a6dd284a356d0cc69448e35f9b13a7b35a Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Mon, 5 Oct 2009 23:40:59 +0000 Subject: [PATCH] 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 --- include/clang/AST/Attr.h | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.50.1