summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-09-01 16:43:19 +0000
committerDouglas Gregor <dgregor@apple.com>2010-09-01 16:43:19 +0000
commit57879faf914977e2025f8f9ff2c9f89eefdb312b (patch)
tree6cc7b9cd9999dfdf71a62126a6cec567f932949b /clang/include/clang-c
parent920cadf9aed9c68fc6aaed0ec1a461cc3281cb14 (diff)
downloadbcm5719-llvm-57879faf914977e2025f8f9ff2c9f89eefdb312b.tar.gz
bcm5719-llvm-57879faf914977e2025f8f9ff2c9f89eefdb312b.zip
Make it clear that libclang does not modify the command-line arguments
it is given. llvm-svn: 112717
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 7e4902dff27..0716f82eaf6 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -645,7 +645,7 @@ CINDEX_LINKAGE CXTranslationUnit clang_createTranslationUnitFromSourceFile(
CXIndex CIdx,
const char *source_filename,
int num_clang_command_line_args,
- const char **clang_command_line_args,
+ const char * const *clang_command_line_args,
unsigned num_unsaved_files,
struct CXUnsavedFile *unsaved_files);
@@ -779,7 +779,7 @@ CINDEX_LINKAGE unsigned clang_defaultEditingTranslationUnitOptions(void);
*/
CINDEX_LINKAGE CXTranslationUnit clang_parseTranslationUnit(CXIndex CIdx,
const char *source_filename,
- const char **command_line_args,
+ const char * const *command_line_args,
int num_command_line_args,
struct CXUnsavedFile *unsaved_files,
unsigned num_unsaved_files,
@@ -2313,7 +2313,7 @@ CINDEX_LINKAGE
CXCodeCompleteResults *clang_codeComplete(CXIndex CIdx,
const char *source_filename,
int num_command_line_args,
- const char **command_line_args,
+ const char * const *command_line_args,
unsigned num_unsaved_files,
struct CXUnsavedFile *unsaved_files,
const char *complete_filename,
OpenPOWER on IntegriCloud