Skip to content

Commit 848349a

Browse files
authored
Update boilerplate instructions [skip ci]. (#365)
1 parent 2e1836c commit 848349a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/cpp-style-guide.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,10 +660,10 @@ Use either the `//` or `/* */` syntax, as long as you are consistent.
660660

661661
#### Legal Notice and Author Line
662662

663-
Every file should contain license boilerplate, in this project use:
663+
Every file should contain license boilerplate, for new files use:
664664

665665
```C++
666-
// Copyright 2018 Google Inc.
666+
// Copyright YYYY Google LLC
667667
//
668668
// Licensed under the Apache License, Version 2.0 (the "License");
669669
// you may not use this file except in compliance with the License.
@@ -678,6 +678,8 @@ Every file should contain license boilerplate, in this project use:
678678
// limitations under the License.
679679
```
680680

681+
where `YYYY` is the year when the file is being introduced. Do not change existing files boilerplate.
682+
681683
#### File Contents
682684

683685
If a `.h` declares multiple abstractions, the file-level comment should broadly describe the contents of the file, and

0 commit comments

Comments
 (0)