Merge pull request #60108 from ClickHouse/insignificant-changes

Insignificant changes
This commit is contained in:
Alexey Milovidov 2024-02-19 01:34:51 +01:00 committed by GitHub
commit 51dc53dcbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -2067,8 +2067,8 @@ Dwarf::LineNumberVM::StepResult Dwarf::LineNumberVM::step(std::string_view & pro
if (opcode != 0)
{ // standard opcode
// Only interpret opcodes that are recognized by the version we're parsing;
// the others are vendor extensions and we should ignore them.
switch (opcode) // NOLINT(bugprone-switch-missing-default-case)
// the others are vendor extensions, and we should ignore them.
switch (opcode)
{
case DW_LNS_copy:
basicBlock_ = false;
@ -2121,6 +2121,7 @@ Dwarf::LineNumberVM::StepResult Dwarf::LineNumberVM::step(std::string_view & pro
}
isa_ = readULEB(program);
return CONTINUE;
default:
}
// Unrecognized standard opcode, slurp the appropriate number of LEB

View File

@ -17,7 +17,7 @@ namespace DB
namespace
{
class FunctionAddressToLine: public FunctionAddressToLineBase<StringRef, Dwarf::LocationInfoMode::FAST>
class FunctionAddressToLine : public FunctionAddressToLineBase<StringRef, Dwarf::LocationInfoMode::FAST>
{
public:
static constexpr auto name = "addressToLine";