d9fd2f5402
Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
40 lines
563 B
C++
40 lines
563 B
C++
|
|
#ifdef MY_PRIVATE_DEFINE
|
|
#error Unexpected MY_PRIVATE_DEFINE
|
|
#endif
|
|
|
|
#ifndef MY_PUBLIC_DEFINE
|
|
#error Expected MY_PUBLIC_DEFINE
|
|
#endif
|
|
|
|
#ifndef MY_INTERFACE_DEFINE
|
|
#error Expected MY_INTERFACE_DEFINE
|
|
#endif
|
|
|
|
#ifndef DASH_D_DEFINE
|
|
#error Expected DASH_D_DEFINE
|
|
#endif
|
|
|
|
#ifdef TEST_LANG_DEFINES
|
|
#ifndef CONSUMER_LANG_CXX
|
|
#error Expected CONSUMER_LANG_CXX
|
|
#endif
|
|
|
|
#ifdef CONSUMER_LANG_C
|
|
#error Unexpected CONSUMER_LANG_C
|
|
#endif
|
|
|
|
#if !LANG_IS_CXX
|
|
#error Expected LANG_IS_CXX
|
|
#endif
|
|
|
|
#if LANG_IS_C
|
|
#error Unexpected LANG_IS_C
|
|
#endif
|
|
#endif
|
|
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|