aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-10-20 17:21:46 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-10-20 17:21:46 +0000
commitf89bc0500c74a590ff9e99aab75bcc22d05bc760 (patch)
tree454d3dfb511de1242a1fb2c0b36284ad4d5602c5
parent8e0c118cb6c22c448ce502f3e00d01630192f095 (diff)
[libclang] Don't use C++-style comments in c-index-test.c.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142590 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/c-index-test/c-index-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c
index 5adffbd2a8..2121bcbd98 100644
--- a/tools/c-index-test/c-index-test.c
+++ b/tools/c-index-test/c-index-test.c
@@ -1539,7 +1539,7 @@ static CXIdxEntity makeCXIndexEntity(CXIdxIndexedEntityInfo *info) {
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 @@ static IndexerCallbacks IndexCB = {
index_ppMacroDefined,
index_ppMacroUndefined,
index_ppMacroExpanded,
- 0, //importedASTFile
+ 0, /*importedASTFile*/
index_importedEntity,
- 0,//index_importedMacro,
+ 0,/*index_importedMacro,*/
index_startedTranslationUnit,
index_indexTypedef,
index_indexFunction,