I can get list of Clang's compiler predefined macros with the following command in Terminal. (Reference)
clang -dM -E -x c /dev/null
However, this list doesn't contain Standard Predefined Macros, such as __FILE__
, __LINE__
, __FUNCTION__
, etc. (GCC version's list)
Q1. Is it possible to get the list of standard predefined macros in Clang in Terminal?
Q2. If not, is there any complete list of standard predefined macros in Clang's documentation or something online?
My environment is macOS Sierra Version 10.12.1 (16B2555), Clang Apple LLVM version 8.0.0 (clang-800.0.42.1)