Skip to content
This repository was archived by the owner on Jul 13, 2019. It is now read-only.

Conversation

@tkruse
Copy link
Owner

@tkruse tkruse commented Apr 23, 2016

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

Based on google/styleguide#17 by pocci...@gmail.com

@tkruse tkruse force-pushed the end-of-namespace branch 6 times, most recently from c3177bf to 1cbd3e0 Compare April 24, 2016 15:03
… 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

Based on google/styleguide#17 by pocci...@gmail.com
@tkruse tkruse force-pushed the end-of-namespace branch from 1cbd3e0 to 46ce93e Compare April 24, 2016 19:14
tkruse pushed a commit that referenced this pull request May 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants