aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/DirectoryWatcher
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-12-02 15:33:08 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-12-04 12:34:49 -0800
commitd10f9863a5ac1cb681af07719650c44b48f289ce (patch)
tree5f5a324474b874d32726f3607937d25a60daf046 /clang/lib/DirectoryWatcher
parentfa4c3f70ff0768a270b0620dc6d158ed1205ec4e (diff)
downloadllvm-d10f9863a5ac1cb681af07719650c44b48f289ce.zip
llvm-d10f9863a5ac1cb681af07719650c44b48f289ce.tar.gz
llvm-d10f9863a5ac1cb681af07719650c44b48f289ce.tar.bz2
ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC
Prepare to delete `AlignedCharArrayUnion` by migrating its users over to `std::aligned_union_t`. I will delete `AlignedCharArrayUnion` and its tests in a follow-up commit so that it's easier to revert in isolation in case some downstream wants to keep using it. Differential Revision: https://reviews.llvm.org/D92516
Diffstat (limited to 'clang/lib/DirectoryWatcher')
-rw-r--r--clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp1
-rw-r--r--clang/lib/DirectoryWatcher/windows/DirectoryWatcher-windows.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp b/clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
index 176d6d6..401a0eb 100644
--- a/clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
+++ b/clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
@@ -11,7 +11,6 @@
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/ScopeExit.h"
-#include "llvm/Support/AlignOf.h"
#include "llvm/Support/Errno.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/Path.h"
diff --git a/clang/lib/DirectoryWatcher/windows/DirectoryWatcher-windows.cpp b/clang/lib/DirectoryWatcher/windows/DirectoryWatcher-windows.cpp
index 25cbcf5..ba96289 100644
--- a/clang/lib/DirectoryWatcher/windows/DirectoryWatcher-windows.cpp
+++ b/clang/lib/DirectoryWatcher/windows/DirectoryWatcher-windows.cpp
@@ -14,7 +14,6 @@
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/ScopeExit.h"
-#include "llvm/Support/AlignOf.h"
#include "llvm/Support/Errno.h"
#include "llvm/Support/Mutex.h"
#include "llvm/Support/Path.h"