]> granicus.if.org Git - clang/commitdiff
Convert comment to C-style to prevent warning
authorSam Clegg <sbc@chromium.org>
Thu, 18 Jan 2018 19:31:33 +0000 (19:31 +0000)
committerSam Clegg <sbc@chromium.org>
Thu, 18 Jan 2018 19:31:33 +0000 (19:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@322880 91177308-0d34-0410-b5e6-96231b3b80d8

tools/c-index-test/c-index-test.c

index d030bbff2e3a2cd27f5e1538c6aa2312ba532c6d..7e80610bbc83430a21176977178f02acc08b65b7 100644 (file)
@@ -739,7 +739,7 @@ static CXString CursorToText(CXCursor Cursor) {
   }
   }
   assert(0 && "unknown display type"); /* no llvm_unreachable in C. */
-  // Set to NULL to prevent uninitialized variable warnings.
+  /* Set to NULL to prevent uninitialized variable warnings. */
   text.data = NULL;
   text.private_flags = 0;
   return text;