Allow end-of-namespace lines that begin with whitespace. Without this change,
indented end-of-namespace lines (mostly due to nested namespaces) would still
cause an error even if the appropriate change is made to the line. Example:
namespace x {
namespace y {
// this is a nontrivial namespace according
// to cpplint
static const int nontrivial[] = {
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
};
// end of namespace y is indented, so would
// still cause an error!
} // namespace y
} // namespace x
Original issue reported on code.google.com by pocci...@gmail.com on 28 Jul 2013 at 7:40
Original issue reported on code.google.com by
pocci...@gmail.com
on 28 Jul 2013 at 7:40Attachments: