diff options
author | JF Bastien <jfbastien@apple.com> | 2019-07-31 03:22:08 +0000 |
---|---|---|
committer | JF Bastien <jfbastien@apple.com> | 2019-07-31 03:22:08 +0000 |
commit | e825b834ecbd322db137ae8b69b6450282846ee8 (patch) | |
tree | 790c758824eed5c8ceba123dcb5148768ebb454f /llvm/unittests/Support/AlignOfTest.cpp | |
parent | e85f6bf66c989270816e67f81576f3d84430c9f9 (diff) | |
download | bcm5719-llvm-e825b834ecbd322db137ae8b69b6450282846ee8.tar.gz bcm5719-llvm-e825b834ecbd322db137ae8b69b6450282846ee8.zip |
[NFC] Remove LLVM_ALIGNAS
Summary: The minimum compilers support all have alignas, and we don't use LLVM_ALIGNAS anywhere anymore. This also removes an MSVC diagnostic which, according to the comment above, isn't relevant anymore.
Reviewers: rnk
Subscribers: mgorny, jkorous, dexonsmith, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D65458
llvm-svn: 367383
Diffstat (limited to 'llvm/unittests/Support/AlignOfTest.cpp')
-rw-r--r-- | llvm/unittests/Support/AlignOfTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/unittests/Support/AlignOfTest.cpp b/llvm/unittests/Support/AlignOfTest.cpp index 780af95e2ab..d8cabde6c72 100644 --- a/llvm/unittests/Support/AlignOfTest.cpp +++ b/llvm/unittests/Support/AlignOfTest.cpp @@ -38,10 +38,10 @@ namespace { #endif // Define some fixed alignment types to use in these tests. -struct LLVM_ALIGNAS(1) A1 {}; -struct LLVM_ALIGNAS(2) A2 {}; -struct LLVM_ALIGNAS(4) A4 {}; -struct LLVM_ALIGNAS(8) A8 {}; +struct alignas(1) A1 {}; +struct alignas(2) A2 {}; +struct alignas(4) A4 {}; +struct alignas(8) A8 {}; struct S1 {}; struct S2 { char a; }; |