diff options
Diffstat (limited to 'clang/lib/Sema/AttributeList.cpp')
| -rw-r--r-- | clang/lib/Sema/AttributeList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/AttributeList.cpp b/clang/lib/Sema/AttributeList.cpp index 41ccdc9ad7f..55e9601bf5e 100644 --- a/clang/lib/Sema/AttributeList.cpp +++ b/clang/lib/Sema/AttributeList.cpp @@ -62,7 +62,7 @@ void *AttributeFactory::allocate(size_t size) { } // Otherwise, allocate something new. - return Alloc.Allocate(size, llvm::AlignOf<AttributeFactory>::Alignment); + return Alloc.Allocate(size, alignof(AttributeFactory)); } void AttributeFactory::reclaimPool(AttributeList *cur) { |

