From ab2b10c3a998d11756c144d7c961cbb19dd83288 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 29 Dec 2007 19:56:08 +0000 Subject: Don't attribute in file headers anymore. See llvmdev for the discussion of this change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45409 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CodingStandards.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'docs/CodingStandards.html') diff --git a/docs/CodingStandards.html b/docs/CodingStandards.html index 858bbe1..3a7f8b3 100644 --- a/docs/CodingStandards.html +++ b/docs/CodingStandards.html @@ -134,8 +134,8 @@ this:

// // The LLVM Compiler Infrastructure // -// This file was developed by <whoever started the file> and is distributed under -// the University of Illinois Open Source License. See LICENSE.TXT for details. +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // @@ -146,9 +146,7 @@ this:

-

A few things to note about this particular format: The 'developed by' line -should be the name of the person or organization who initially contributed the -file. The "-*- C++ +

A few things to note about this particular format: The "-*- C++ -*-" string on the first line is there to tell Emacs that the source file is a C++ file, not a C file (Emacs assumes .h files are C files by default). Note that this tag is not necessary in .cpp files. The name of the file is also @@ -156,9 +154,9 @@ on the first line, along with a very short description of the purpose of the file. This is important when printing out code and flipping though lots of pages.

-

The next section in the file is a concise note that defines the license that -the file is released under. This makes it perfectly clear what terms the source -code can be distributed under.

+

The next section in the file is a concise note that defines the license +that the file is released under. This makes it perfectly clear what terms the +source code can be distributed under and should not be modified in any way.

The main body of the description does not have to be very long in most cases. Here it's only two lines. If an algorithm is being implemented or something -- cgit v1.1