summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-04-27 19:30:29 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-04-27 19:30:29 +0000
commitca63acdc5d8b1593e0c1caa56db49a6271618000 (patch)
tree69cf54739cddf981a66afe540801f73f7e2c2c1b /runtime
parent447989cb680041ff484c8c00ee5b7135a9df6b3d (diff)
downloadllvm-ca63acdc5d8b1593e0c1caa56db49a6271618000.tar.gz
llvm-ca63acdc5d8b1593e0c1caa56db49a6271618000.tar.bz2
llvm-ca63acdc5d8b1593e0c1caa56db49a6271618000.tar.xz
Switch to c-style comments in a C file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155726 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-rw-r--r--runtime/libprofile/CommonProfiling.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/libprofile/CommonProfiling.c b/runtime/libprofile/CommonProfiling.c
index 13e3eb9cf7..acc17ce11e 100644
--- a/runtime/libprofile/CommonProfiling.c
+++ b/runtime/libprofile/CommonProfiling.c
@@ -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;