Add an option for header guard derived checks to control whether to skip past a license comment when adding a guard to file currently missing one.
Whats identified as a license comment is a block of comments right at the start of a file that is followed by an empty line.
All these examples are being interpreted as the first tokens in a file.
// This is identified as a license comment. // It can span multiple lines too. // This is not part of the license comment as its detached.
// This is not identified as a license comment as the // block is followed by code. void foo();
// This is identified as a license comment as its followed by // an empty line void foo();
It makes me sad how much we're having to sprinkle std::move() calls around (I find the calls to move() to be more distracting that declaring the parameter types to be const std::string&.) Were these found mechanically?