complete for users of AttrVec.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269720
91177308-0d34-0410-b5e6-
96231b3b80d8
class Attr;
}
+namespace llvm {
+ // Explicitly opt into 4 byte alignment for Attr*, to avoid the need to
+ // include the heavyweight Attr.h to use a TinyPtrVector<Attr*>.
+ template <>
+ struct PointerLikeTypeTraits<Attr *> : PointerLikeTypeTraits<void *> {};
+}
+
// Defined in ASTContext.h
void *operator new(size_t Bytes, const clang::ASTContext &C,
size_t Alignment = 8);