diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-20 17:21:46 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-20 17:21:46 +0000 |
commit | 9006807dcd7100bbf03dd7e5fcf74db06eea6cc4 (patch) | |
tree | b67f536bae9b8135ceb278c2383e199dee7cfc28 /clang/tools/c-index-test/c-index-test.c | |
parent | 44e5a0a72b778627d8be3cd45340024c003666ac (diff) | |
download | bcm5719-llvm-9006807dcd7100bbf03dd7e5fcf74db06eea6cc4.tar.gz bcm5719-llvm-9006807dcd7100bbf03dd7e5fcf74db06eea6cc4.zip |
[libclang] Don't use C++-style comments in c-index-test.c.
llvm-svn: 142590
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
-rw-r--r-- | clang/tools/c-index-test/c-index-test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c index 5adffbd2a80..2121bcbd985 100644 --- a/clang/tools/c-index-test/c-index-test.c +++ b/clang/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, |