@@ -249,36 +249,39 @@ llvm::json::Value toJSON(const AdapterFeature &);
249249// / Information about the capabilities of a debug adapter.
250250struct  Capabilities  {
251251  // / The supported features for this adapter.
252-   llvm::DenseSet<AdapterFeature> supportedFeatures;
252+   llvm::DenseSet<AdapterFeature> supportedFeatures{} ;
253253
254254  // / Available exception filter options for the `setExceptionBreakpoints`
255255  // / request.
256256  std::optional<std::vector<ExceptionBreakpointsFilter>>
257-       exceptionBreakpointFilters;
257+       exceptionBreakpointFilters{} ;
258258
259259  // / The set of characters that should trigger completion in a REPL. If not
260260  // / specified, the UI should assume the `.` character.
261-   std::optional<std::vector<std::string>> completionTriggerCharacters;
261+   std::optional<std::vector<std::string>> completionTriggerCharacters =
262+       std::nullopt ;
262263
263264  // / The set of additional module information exposed by the debug adapter.
264-   std::optional<std::vector<ColumnDescriptor>> additionalModuleColumns;
265+   std::optional<std::vector<ColumnDescriptor>> additionalModuleColumns =
266+       std::nullopt ;
265267
266268  // / Checksum algorithms supported by the debug adapter.
267-   std::optional<std::vector<ChecksumAlgorithm>> supportedChecksumAlgorithms;
269+   std::optional<std::vector<ChecksumAlgorithm>> supportedChecksumAlgorithms =
270+       std::nullopt ;
268271
269272  // / Modes of breakpoints supported by the debug adapter, such as 'hardware' or
270273  // / 'software'. If present, the client may allow the user to select a mode and
271274  // / include it in its `setBreakpoints` request.
272275  // /
273276  // / Clients may present the first applicable mode in this array as the
274277  // / 'default' mode in gestures that set breakpoints.
275-   std::optional<std::vector<BreakpointMode>> breakpointModes;
278+   std::optional<std::vector<BreakpointMode>> breakpointModes = std:: nullopt ;
276279
277280  // / lldb-dap Extensions
278281  // / @{
279282
280283  // / The version of the adapter.
281-   std::optional<std::string> lldbExtVersion;
284+   std::optional<std::string> lldbExtVersion = std:: nullopt ;
282285
283286  // / @}
284287};
0 commit comments