We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7bcad commit e18b443Copy full SHA for e18b443
subdoc/lib/run.cc
@@ -92,6 +92,10 @@ sus::result::Result<Database, DiagnosticResults> run_files(
92
// requires this define in order to use offsetof() from constant
93
// expressions, which subspace uses for the never-value optimization.
94
args.push_back("/D_CRT_USE_BUILTIN_OFFSETOF");
95
+ // TODO: https://github.com/llvm/llvm-project/issues/60347 the
96
+ // source_location header on windows requires this to be defined. As
97
+ // Clang's C++20 support includes consteval, let's define it.
98
+ args.push_back("/D__cpp_consteval");
99
}
100
101
return std::move(args);
0 commit comments