-
Notifications
You must be signed in to change notification settings - Fork 294
Closed
Labels
Description
Hi, we are running into linter errors related to indent after upgrading cpplint to 2.0. I think the error is a false positive as it raises errors for parameter indentation.
test.cc:
#include <iostream>
namespace mynamespace {
struct SuperLongTypeName {};
void fn(SuperLongTypeName a, SuperLongTypeName b, SuperLongTypeName c,
SuperLongTypeName d) {
std::cout << "foo" << std::endl;
}
} // namespace mynamespace
error
./test.cc:6: Do not indent within a namespace. [whitespace/indent_namespace] [4]
Might be related?
vkucera, jiawen, faximan, kon72 and drewcm