summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30923-sf.2886991.cpp
blob: 61dc7c2141a80174c3d856eef8146642dfe31326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

void log_fmt(log_sev_t sev, const char *fmt, ...) __attribute__((format(printf, 2, 3)));

#define LOG_FMT(sev, args ...)                           \
	do { if (log_sev_on(sev)) { log_fmt(sev, ## args); } } while (0)

void foo()
{
	try {}
	catch (...) // <== HERE
	{}
}