[libcxx-commits] [PATCH] D120634: [Libcxx] Add <source_location> header.

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Feb 27 11:52:24 PST 2022


philnik added a comment.

You also have to add the header to `libcxx/include/modules.modulemap` and `libcxx/include/CMakeLists.txt`.



================
Comment at: libcxx/include/version:361-363
+#if __has_builtin(__builtin_source_location)
+# define __cpp_lib_source_location                      201907L
+#endif
----------------
You should edit `libcxx/utils/generate_feature_test_macro_components.py`. This is a generated file.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120634/new/

https://reviews.llvm.org/D120634



More information about the libcxx-commits mailing list