aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/filesystem/operations.cpp
diff options
context:
space:
mode:
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>2022-02-11 13:00:39 -0500
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>2022-02-15 13:00:46 -0500
commitbbb0f2c759a16f2fb4e1d74795b790cf0c170620 (patch)
treed2107a59dba78bc403e61eb0749d41c5baf4654f /libcxx/src/filesystem/operations.cpp
parent987c7f407d1414a023f03eb788bb97667b479f27 (diff)
downloadllvm-bbb0f2c759a16f2fb4e1d74795b790cf0c170620.zip
llvm-bbb0f2c759a16f2fb4e1d74795b790cf0c170620.tar.gz
llvm-bbb0f2c759a16f2fb4e1d74795b790cf0c170620.tar.bz2
[libc++] Replace `#include ""` with `<>` in libcxx/src/. NFCI.
Our best guess is that the two syntaxes should have exactly equivalent effects, so, let's be consistent with what we do in libcxx/include/. I've left `#include "include/x.h"` and `#include "../y.h"` alone because I'm less sure that they're interchangeable, and they aren't inconsistent with libcxx/include/ because libcxx/include/ never does that kind of thing. Also, use the `_LIBCPP_PUSH_MACROS/POP_MACROS` dance for `<__undef_macros>`, even though it's technically unnecessary in a standalone .cpp file, just so we have consistently one way to do it. Differential Revision: https://reviews.llvm.org/D119561
Diffstat (limited to 'libcxx/src/filesystem/operations.cpp')
-rw-r--r--libcxx/src/filesystem/operations.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/libcxx/src/filesystem/operations.cpp b/libcxx/src/filesystem/operations.cpp
index 244cc98..57e2539 100644
--- a/libcxx/src/filesystem/operations.cpp
+++ b/libcxx/src/filesystem/operations.cpp
@@ -7,14 +7,14 @@
//===----------------------------------------------------------------------===//
#include <__utility/unreachable.h>
-#include "filesystem"
-#include "array"
-#include "iterator"
-#include "string_view"
-#include "type_traits"
-#include "vector"
-#include "cstdlib"
-#include "climits"
+#include <array>
+#include <climits>
+#include <cstdlib>
+#include <filesystem>
+#include <iterator>
+#include <string_view>
+#include <type_traits>
+#include <vector>
#include "filesystem_common.h"
@@ -40,7 +40,7 @@
# include <copyfile.h>
# define _LIBCPP_FILESYSTEM_USE_COPYFILE
#else
-# include "fstream"
+# include <fstream>
# define _LIBCPP_FILESYSTEM_USE_FSTREAM
#endif