diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-01-25 00:43:14 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-01-25 00:43:14 +0000 |
commit | fd9f23464bfd35314c87c4df410f3937d59eb96d (patch) | |
tree | 4247556f3b520ada39117e046d6d027c25ed7552 | |
parent | 4efd632322731425d83d205f26bddcdfe1ac8937 (diff) |
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94393 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang-c/Index.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index 248a699c27..b38e517851 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -162,8 +162,9 @@ CINDEX_LINKAGE void clang_disposeString(CXString string); * * // This will load all the symbols from 'IndexTest.c', excluding symbols * // from 'IndexTest.pch'. - * char *args[] = { "-Xclang", "-include-pch=IndexTest.pch", 0 }; - * TU = clang_createTranslationUnitFromSourceFile(Idx, "IndexTest.c", 2, args); + * char *args[] = { "-Xclang", "-include-pch=IndexTest.pch" }; + * TU = clang_createTranslationUnitFromSourceFile(Idx, "IndexTest.c", 2, args, + * 0, 0); * clang_visitChildren(clang_getTranslationUnitCursor(TU), * TranslationUnitVisitor, 0); * clang_disposeTranslationUnit(TU); |