dolphin/Source
Lioncash 7926a0c814 Use __func__ instead of __FUNCTION__ where applicable
This replaces usages of the non-standard __FUNCTION__ macro with the standard
mandated __func__ identifier.

__FUNCTION__ is a preprocessor definition that is provided as an
extension by compilers. This was the only convenient option to rely on
pre-C++11. However, C++11 and greater mandate the predefined identifier
__func__, which lets us accomplish the same thing.

The difference between the two, however, is that __func__ isn't a
preprocessor macro, it's an actual identifier that exists at function
scope. The C++17 draft standard (N4659) at section [dcl.fct.def.general]
paragraph 8 states:

"
The function-local predefined variable __func__ is defined as if a
definition of the form

static const char __func__[] = "function-name ";

had been provided, where function-name is an implementation-defined
string. It is unspecified whether such
a variable has an address distinct from that of any other object in the
program.
"

Thankfully, we don't do any macro or string concatenation with __FUNCTION__
that can't be modified to use __func__.
2018-03-16 13:41:53 -04:00
..
Android Bring the Android GUI setting for ubershaders up to date 2018-03-15 19:15:13 +01:00
Core Use __func__ instead of __FUNCTION__ where applicable 2018-03-16 13:41:53 -04:00
DSPSpy DSPSpy: Add a test for accelerator loop 2017-09-22 20:17:38 +02:00
DSPTool DSPTool: Fix build 2017-09-13 17:38:23 +02:00
PCH msvc: bump the required _MSC_FULL_VER 2017-06-03 18:20:41 -07:00
UnitTests Merge pull request #5973 from ligfx/renamefifoqueue 2017-11-19 13:51:22 +01:00
VSProps Only build OpenAL on Windows 2017-06-27 00:06:14 -07:00
.clang-format clang-format: Sort windows.h before other headers 2017-01-23 00:35:09 -08:00
CMakeLists.txt CMake: don't use -std=c++1z 2017-09-27 16:06:15 -07:00
dolphin-emu.sln msbuild: put pugixml in Externals solution filter; fix project reference. 2017-06-15 19:06:16 -07:00