File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,9 @@ class Bomb final {
84
84
85
85
#else
86
86
87
- struct Bomb {};
87
+ struct Bomb {
88
+ void defuse () {}
89
+ };
88
90
89
91
#define BOMB_INIT (__msg ) scip_clang::Bomb()
90
92
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ class SymbolInformationBuilder final {
85
85
: documentation(), relationships(),
86
86
_bomb (
87
87
BOMB_INIT (fmt::format(" SymbolInformationBuilder for '{}'" , name))) {
88
+ (void )name;
88
89
this ->setDocumentation (std::move (docs));
89
90
this ->mergeRelationships (std::move (rels));
90
91
}
Original file line number Diff line number Diff line change @@ -506,8 +506,10 @@ SymbolFormatter::getVarSymbol(const clang::VarDecl &varDecl) {
506
506
ENFORCE (false , " DecompositionDecls require recursive traversal"
507
507
" and do not have a single symbol name;"
508
508
" they should be handled in TuIndexer" );
509
+ return {}; // in release mode
509
510
case Kind::ParmVar:
510
511
ENFORCE (false , " already handled parameter case earlier" );
512
+ return {}; // in release mode
511
513
case Kind::VarTemplatePartialSpecialization:
512
514
case Kind::VarTemplateSpecialization:
513
515
case Kind::Var: {
You can’t perform that action at this time.
0 commit comments