-
-
Notifications
You must be signed in to change notification settings - Fork 264
Expand file tree
/
Copy pathInsightsOptions.def
More file actions
39 lines (35 loc) · 2.14 KB
/
InsightsOptions.def
File metadata and controls
39 lines (35 loc) · 2.14 KB
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
35
36
37
38
39
///////////////////////////////////////////////////////////////////////////////
//
// 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)
INSIGHTS_OPT("stdin", StdinMode, false, "Read the input from <stdin>.", gInsightCategory)
INSIGHTS_OPT("use-libc++", UseLibCpp, false, "Use libc++ (LLVM) instead of libstdc++ (GNU).", gInsightCategory)
INSIGHTS_OPT("autocomplete", AutoComplete, false, "Generate list of options for autocomplete and exit.", gInsightCategory)
#undef INSIGHTS_OPT