aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/optional.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/optional.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/optional.cpp')
-rw-r--r--libcxx/src/optional.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/optional.cpp b/libcxx/src/optional.cpp
index 251ebe2..ac1a0a5 100644
--- a/libcxx/src/optional.cpp
+++ b/libcxx/src/optional.cpp
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#include "optional"
-#include "__availability"
+#include <__availability>
+#include <optional>
namespace std
{