[clang-tidy] Fix inconsistent declarations

Found with readability-inconsistent-declaration-parameter-name

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2019-11-18 16:54:36 -08:00
committed by ridiculousfish
parent 435556001e
commit 5ca80a61e3
28 changed files with 59 additions and 59 deletions

View File

@@ -229,7 +229,7 @@ class parser_t : public std::enable_shared_from_this<parser_t> {
wcstring user_presentable_path(const wcstring &path) const;
/// Helper for stack_trace().
void stack_trace_internal(size_t block_idx, wcstring *out) const;
void stack_trace_internal(size_t block_idx, wcstring *buff) const;
/// Create a parser.
parser_t();
@@ -318,7 +318,7 @@ class parser_t : public std::enable_shared_from_this<parser_t> {
block_t *push_block(block_t &&b);
/// Remove the outermost block, asserting it's the given one.
void pop_block(const block_t *b);
void pop_block(const block_t *expected);
/// Return a description of the given blocktype.
const wchar_t *get_block_desc(int block) const;