fix a typo
authorChris Lattner <sabre@nondot.org>
Wed, 25 Feb 2015 17:28:41 +0000 (17:28 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 25 Feb 2015 17:28:41 +0000 (17:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230510 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CodingStandards.rst

index aeaee0d6921bd21b7ce117f717e4c04958077dfd..221c431320ce4bd02d26be0bf08012b7b047a13b 100644 (file)
@@ -721,7 +721,7 @@ the symbol (e.g., MSVC).  This can lead to problems at link time.
   // Bar isn't POD, but it does look like a struct.
   struct Bar {
     int Data;
-    Foo() : Data(0) { }
+    Bar() : Data(0) { }
   };
 
 Do not use Braced Initializer Lists to Call a Constructor