[PATCH] D156045: [clang][Interp] Enable existing source_location tests
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 22 23:57:18 PDT 2023
tbaeder added inline comments.
================
Comment at: clang/test/SemaCXX/source_location.cpp:764-768
+#if defined(USE_CONSTEVAL) && !defined(NEW_INTERP)
static_assert(test_init_capture() == __LINE__ - 4);
#else
static_assert(test_init_capture() == __LINE__ );
#endif
----------------
The comment block just before this `#if` seems to say that the new interpreter is correct here...?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156045/new/
https://reviews.llvm.org/D156045
More information about the cfe-commits
mailing list