Switch to c-style comments in a C file.
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 27 Apr 2012 19:30:29 +0000 (19:30 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 27 Apr 2012 19:30:29 +0000 (19:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155726 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/libprofile/CommonProfiling.c

index 13e3eb9cf7bdb953e7a7ca9fd5da976415a2ce52..acc17ce11e01c1096896b474f431c477e474789e 100644 (file)
@@ -65,9 +65,10 @@ int save_arguments(int argc, const char **argv) {
   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;