[llvm-commits] [llvm] r155726 - /llvm/trunk/runtime/libprofile/CommonProfiling.c

David Blaikie dblaikie at gmail.com
Fri Apr 27 12:30:29 PDT 2012


Author: dblaikie
Date: Fri Apr 27 14:30:29 2012
New Revision: 155726

URL: http://llvm.org/viewvc/llvm-project?rev=155726&view=rev
Log:
Switch to c-style comments in a C file.

Modified:
    llvm/trunk/runtime/libprofile/CommonProfiling.c

Modified: llvm/trunk/runtime/libprofile/CommonProfiling.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/runtime/libprofile/CommonProfiling.c?rev=155726&r1=155725&r2=155726&view=diff
==============================================================================
--- llvm/trunk/runtime/libprofile/CommonProfiling.c (original)
+++ llvm/trunk/runtime/libprofile/CommonProfiling.c Fri Apr 27 14:30:29 2012
@@ -65,9 +65,10 @@
   for (Length = 0, i = 0; i != (unsigned)argc; ++i)
     Length += strlen(argv[i])+1;
 
-  // Defensively check for a zero length, even though this is unlikely
-  // to happen in practice.  This avoids calling malloc() below with a
-  // size of 0.
+  /* Defensively check for a zero length, even though this is unlikely
+   * to happen in practice.  This avoids calling malloc() below with a
+   * size of 0.
+   */
   if (Length == 0) {
     SavedArgs = 0;
     SavedArgsLength = 0;





More information about the llvm-commits mailing list