Skip to content

Commit

Permalink
[clang][Interp][NFC] Add missing return statement
Browse files Browse the repository at this point in the history
I removed the else here, but forgot to add a return before.
Interestingly, none of the existing test cases triggered a problem. A
future commit will add a test case.
  • Loading branch information
tbaederr committed Jul 9, 2023
1 parent 0484237 commit 3262aea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/AST/Interp/Pointer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ void Pointer::initialize() const {
free(Map);
Map = (InitMap *)-1;
}
return;
}

// Field has its bit in an inline descriptor.
Expand Down

0 comments on commit 3262aea

Please sign in to comment.