Michael Smith has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/20494 )

Change subject: IMPALA-12390 (part 4): Enable unnecessary-value-param
......................................................................


Patch Set 16:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/20494/16/be/src/codegen/llvm-codegen.cc
File be/src/codegen/llvm-codegen.cc:

http://gerrit.cloudera.org:8080/#/c/20494/16/be/src/codegen/llvm-codegen.cc@697
PS16, Line 697: llvm::PHINode* LlvmCodeGen::CreateBinaryPhiNode(LlvmBuilder* 
builder, llvm::Value* value1,
              :     llvm::Value* value2, llvm::BasicBlock* incoming_block1,
              :     llvm::BasicBlock* incoming_block2, const string& name) {
> nit: There are only few callsites calling this method. Maybe we can conside
Seems reasonable, I think there's only one that omits passing a name and it 
probably should specify one.


http://gerrit.cloudera.org:8080/#/c/20494/16/be/src/rpc/authentication.cc
File be/src/rpc/authentication.cc:

http://gerrit.cloudera.org:8080/#/c/20494/16/be/src/rpc/authentication.cc@629
PS16, Line 629: string
> This is not const string& because TryStripPrefixString mutate auth_header?
Right. I mention this change in the commit message.


http://gerrit.cloudera.org:8080/#/c/20494/16/be/src/rpc/authentication.cc@664
PS16, Line 664: const string& auth_header
> this is unused?
It's used at line 670.



--
To view, visit http://gerrit.cloudera.org:8080/20494
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I8aa5d98596d82f615a0a728e0235e7dd9d8b5003
Gerrit-Change-Number: 20494
Gerrit-PatchSet: 16
Gerrit-Owner: Michael Smith <[email protected]>
Gerrit-Reviewer: Daniel Becker <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: gaurav singh <[email protected]>
Gerrit-Comment-Date: Wed, 30 Oct 2024 23:24:59 +0000
Gerrit-HasComments: Yes

Reply via email to