@@ -21,33 +21,33 @@ namespace symbolgraphgen {
21
21
22
22
struct SymbolGraphOptions {
23
23
// / The directory to output the symbol graph JSON files.
24
- StringRef OutputDir;
24
+ StringRef OutputDir = StringRef{} ;
25
25
26
26
// / The target of the module.
27
- llvm::Triple Target;
27
+ llvm::Triple Target = llvm::Triple{};
28
28
// / Pretty-print the JSON with newlines and indentation.
29
- bool PrettyPrint;
29
+ bool PrettyPrint = false ;
30
30
31
31
// / The minimum access level that symbols must have in order to be
32
32
// / included in the graph.
33
- AccessLevel MinimumAccessLevel;
33
+ AccessLevel MinimumAccessLevel = AccessLevel::Public ;
34
34
35
35
// / Emit members gotten through class inheritance or protocol default
36
36
// / implementations with compound, "SYNTHESIZED" USRs.
37
- bool EmitSynthesizedMembers;
37
+ bool EmitSynthesizedMembers = false ;
38
38
39
39
// / Whether to print informational messages when rendering
40
40
// / a symbol graph.
41
- bool PrintMessages;
41
+ bool PrintMessages = false ;
42
42
43
43
// / Whether to skip docs for symbols with compound, "SYNTHESIZED" USRs.
44
- bool SkipInheritedDocs;
44
+ bool SkipInheritedDocs = false ;
45
45
46
46
// / Whether to emit symbols with SPI information.
47
- bool IncludeSPISymbols;
47
+ bool IncludeSPISymbols = false ;
48
48
49
49
// / Whether to include documentation for clang nodes or not.
50
- bool IncludeClangDocs;
50
+ bool IncludeClangDocs = false ;
51
51
};
52
52
53
53
} // end namespace symbolgraphgen
0 commit comments