[PATCH] MS ABI: Consider alignment attributes on typedefs for layout

Ed Maste emaste at freebsd.org
Wed Jul 30 12:17:00 PDT 2014


================
Comment at: cfe/trunk/include/clang/AST/ASTContext.h:1625
@@ -1616,5 +1624,3 @@
   /// \brief Get the size and alignment of the specified complete type in bits.
-  std::pair<uint64_t, unsigned> getTypeInfo(const Type *T) const;
-  std::pair<uint64_t, unsigned> getTypeInfo(QualType T) const {
-    return getTypeInfo(T.getTypePtr());
-  }
+  TypeInfo getTypeInfo(const Type *T) const;
+  TypeInfo getTypeInfo(QualType T) const { return getTypeInfo(T.getTypePtr()); }
----------------
This will need a corresponding change to LLDB

http://reviews.llvm.org/D4714






More information about the cfe-commits mailing list