-
-
Notifications
You must be signed in to change notification settings - Fork 244
/
InsightsOptions.def
34 lines (32 loc) · 1.82 KB
/
InsightsOptions.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
///////////////////////////////////////////////////////////////////////////////
//
// C++ Insights, copyright (C) by Andreas Fertig
// Distributed under an MIT license. See LICENSE for details
//
///////////////////////////////////////////////////////////////////////////////
/// \brief C++ Insights options definition
#ifndef INSIGHTS_OPT
#define INSIGHTS_OPT(opt, name, deflt, description, category)
#endif
INSIGHTS_OPT("alt-syntax-for",
UseAltForSyntax,
false,
"Transform all for-loops into their equivalent while-loop.",
gInsightCategory)
INSIGHTS_OPT("alt-syntax-subscription",
UseAltArraySubscriptionSyntax,
false,
"Transform array subscriptions E1[E2] into (*(E1 + E2)).", gInsightCategory)
INSIGHTS_OPT("show-all-implicit-casts", ShowAllImplicitCasts, false, "Show all implicit casts which can be noisy.", gInsightCategory)
INSIGHTS_OPT("show-all-callexpr-template-parameters", ShowAllCallExprTemplateParameters, false, "Show all template parameters of a CallExpr.", gInsightCategory)
INSIGHTS_OPT("edu-show-initlist", UseShowInitializerList, false, "Transform a std::initializer list", gInsightEduCategory)
INSIGHTS_OPT("edu-show-noexcept", UseShowNoexcept, false, "Transform a noexcept function", gInsightEduCategory)
INSIGHTS_OPT("edu-show-padding", UseShowPadding, false, "Show the padding bytes in a struct/class", gInsightEduCategory)
INSIGHTS_OPT("edu-show-coroutine-transformation",
ShowCoroutineTransformation,
false,
"Show transformations of coroutines.",
gInsightEduCategory)
INSIGHTS_OPT("edu-show-cfront", UseShow2C, false, "Show transformation to C", gInsightEduCategory)
INSIGHTS_OPT("edu-show-lifetime", ShowLifetime, false, "Show lifetime of objects", gInsightEduCategory)
#undef INSIGHTS_OPT