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)
llvm-svn: 230510

llvm/docs/CodingStandards.rst

index aeaee0d..221c431 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