[cfe-commits] r142590 - /cfe/trunk/tools/c-index-test/c-index-test.c
Argyrios Kyrtzidis
akyrtzi at gmail.com
Thu Oct 20 10:21:46 PDT 2011
Author: akirtzidis
Date: Thu Oct 20 12:21:46 2011
New Revision: 142590
URL: http://llvm.org/viewvc/llvm-project?rev=142590&view=rev
Log:
[libclang] Don't use C++-style comments in c-index-test.c.
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=142590&r1=142589&r2=142590&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Thu Oct 20 12:21:46 2011
@@ -1539,7 +1539,7 @@
loc = info->declInfo->loc;
clang_indexLoc_getFileLocation(loc, &file, 0, &line, &column, 0);
- // FIXME: free these.
+ /* FIXME: free these.*/
newStr = (char *)malloc(strlen(name) + 10);
sprintf(newStr, "%s:%d:%d", name, line, column);
return (CXIdxEntity)newStr;
@@ -1935,9 +1935,9 @@
index_ppMacroDefined,
index_ppMacroUndefined,
index_ppMacroExpanded,
- 0, //importedASTFile
+ 0, /*importedASTFile*/
index_importedEntity,
- 0,//index_importedMacro,
+ 0,/*index_importedMacro,*/
index_startedTranslationUnit,
index_indexTypedef,
index_indexFunction,
More information about the cfe-commits
mailing list