summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30823-pp_indent_func_def.cpp
blob: b01c6bbee8d8610da15dacdc98fd67df01f39975 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Example of function definitions inside of preprocessor statements
// Config uses more than tested option, uses:
// pp_if_indent_code  = true	  to enable preprocesser indent
// pp_indent_func_def = false	  to override preprocessor indent for function definitions
int x = 1;
#if (USE_AWESOME_FUNCTIONS)
void MyClass::SomeAwesomeFunction()
{
	DoSomethingInAFunction();
}
#endif