Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ if(MSVC)
PRIVATE
# required for determining correct `/std:` flag
"${PROJECT_SOURCE_DIR}/test/dummy.cpp"

# It seems like these should be `PRIVATE`, otherwise
# it'll be added to all dependent targets and yields
# "Warning: Conflicting <Type> entries detected"
"${PROJECT_SOURCE_DIR}/rvariant.natvis"
"${PROJECT_SOURCE_DIR}/cpp.hint"
)
else()
add_library(rvariant INTERFACE)
Expand Down
9 changes: 1 addition & 8 deletions cpp.hint
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Hint files help the Visual Studio IDE interpret Visual C++ identifiers
// such as names of functions and macros.
// For more information see https://go.microsoft.com/fwlink/?linkid=865984

#define YK_RVARIANT_VISIT_NOEXCEPT

#define YK_RVARIANT_ALWAYS_THROWING_UNREACHABLE_BEGIN
Expand All @@ -18,11 +19,3 @@

#define YK_FORCEINLINE
#define YK_LIFETIMEBOUND

#define TEST_CASE
#define REQUIRE
#define STATIC_REQUIRE
#define CHECK
#define STATIC_CHECK

#define YK_REQUIRE_STATIC_NOTHROW
Loading