r322880 - Convert comment to C-style to prevent warning
Sam Clegg via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 18 11:31:33 PST 2018
Author: sbc
Date: Thu Jan 18 11:31:33 2018
New Revision: 322880
URL: http://llvm.org/viewvc/llvm-project?rev=322880&view=rev
Log:
Convert comment to C-style to prevent warning
Modified:
cfe/trunk/tools/c-index-test/c-index-test.c
Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=322880&r1=322879&r2=322880&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Thu Jan 18 11:31:33 2018
@@ -739,7 +739,7 @@ static CXString CursorToText(CXCursor Cu
}
}
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;
More information about the cfe-commits
mailing list