ci: add make_unique rule to check_format#7054
Conversation
|
Nice. It works. Maybe ci rebases from master? I don't see the miss usage at the current commit. Will rebase and fix. |
There was a problem hiding this comment.
thanks for adding the test data. But you'll need to also add some lines to tools/check_format_test_helper.py to run on this file with expected outputs. Scan to the end of that file and you'll see what to do.
jmarantz
left a comment
There was a problem hiding this comment.
looks great; just a couple of nits.
c56c2a3 to
4fab27b
Compare
|
LGTM generally. Looks like another reference to absl::make_unique got merged into ./test/mocks/upstream/cluster_info.cc; let's fix that one and get this merged. |
Signed-off-by: Yuchen Dai <silentdai@gmail.com>
Signed-off-by: Yuchen Dai <silentdai@gmail.com>
Signed-off-by: Yuchen Dai <silentdai@gmail.com>
Signed-off-by: Yuchen Dai <silentdai@gmail.com>
Signed-off-by: Yuchen Dai <silentdai@gmail.com>
|
Thanks! Looks like this PR has greater value than I expected |
|
oops. looking into the failure |
| @@ -0,0 +1,11 @@ | |||
| #include <memory> | |||
|
|
|||
| #include "absl/memory/memory.h" | |||
There was a problem hiding this comment.
btw this file (and the gold) is not actually compiled, so you don't need the includes. You do need the 'namespace Envoy' as the presence of that is one of the formatting rules that is checked.
There was a problem hiding this comment.
Cleaning those out is totally optional IMO.
Signed-off-by: Yuchen Dai silentdai@gmail.com
As a follow up of #7034
tag #7053