dolphin/Source
Pokechu22 0cced44142 Use __VA_OPT__(, ) __VA_ARGS__ instead of ##__VA_ARGS__
Per https://en.cppreference.com/w/cpp/preprocessor/replace#.23_and_.23.23_operators the `##` behavior is a nonstandard extension; this extension seems to be supported by all compilers we care about, but IntelliSense in visual studio doesn't correctly handle it, resulting in false errors in the IDE (but not when compiling).

Per https://en.cppreference.com/w/cpp/preprocessor/replace#Function-like_macros C++20 introduced a workaround, where `__VA_OPT__(, )` generates a comma if and only if `__VA_ARGS__` is non-empty.

This PR replaces all occurrences, with the exception of Externals, DSPSpy (which is not likely to be edited in MSVC and does not target C++20 currently), and JitArm64_Integer.cpp (which uses `Function(__VA_ARGS__)`, and thus does not ever need a comma).
2022-08-23 12:09:57 -07:00
..
Android Android: Add option to disable game cover text 2022-08-22 13:50:39 -04:00
Core Use __VA_OPT__(, ) __VA_ARGS__ instead of ##__VA_ARGS__ 2022-08-23 12:09:57 -07:00
DSPSpy DSP LLE Recompiler: Fix LOOP and BLOOP when the counter is between 0x8001 and 0xFFFF 2022-06-05 19:34:31 -07:00
DSPTool Merge pull request #10933 from shuffle2/vs 2022-08-22 15:19:13 +02:00
PCH msbuild: refactor to reduce rebuild events 2022-08-02 22:24:22 -07:00
UnitTests Merge pull request #10933 from shuffle2/vs 2022-08-22 15:19:13 +02:00
VSProps msbuild: tidy up the linked libs 2022-08-02 22:24:22 -07:00
.clang-format Replace Cpp11 (A Deprecated alias for Latest) in .clang-format 2022-06-22 08:57:32 +10:00
CMakeLists.txt Move to C++20 for non-MSVC compilers 2022-07-30 23:35:53 +01:00
dolphin-emu.sln replace libpng with libspng 2022-07-25 18:32:16 -07:00