r225701 - Don't use a doc comment in a function body.

Nico Weber nicolasweber at gmx.de
Mon Jan 12 13:22:27 PST 2015


Author: nico
Date: Mon Jan 12 15:22:27 2015
New Revision: 225701

URL: http://llvm.org/viewvc/llvm-project?rev=225701&view=rev
Log:
Don't use a doc comment in a function body.

Modified:
    cfe/trunk/lib/CodeGen/CGCXX.cpp

Modified: cfe/trunk/lib/CodeGen/CGCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCXX.cpp?rev=225701&r1=225700&r2=225701&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGCXX.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCXX.cpp Mon Jan 12 15:22:27 2015
@@ -167,9 +167,9 @@ bool CodeGenModule::TryEmitDefinitionAsA
   }
 
   if (!InEveryTU) {
-    /// If we don't have a definition for the destructor yet, don't
-    /// emit.  We can't emit aliases to declarations; that's just not
-    /// how aliases work.
+    // If we don't have a definition for the destructor yet, don't
+    // emit.  We can't emit aliases to declarations; that's just not
+    // how aliases work.
     if (Ref->isDeclaration())
       return true;
   }





More information about the cfe-commits mailing list