diff options
| author | Ted Kremenek <kremenek@apple.com> | 2010-04-12 18:47:26 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2010-04-12 18:47:26 +0000 |
| commit | de24a940a706255142a1dbcc798834c5b6dc5cd2 (patch) | |
| tree | c28c900dbf0702d3fc64e7c374f4396c510ef53e /clang/include/clang-c | |
| parent | fc93503c5934baca5803e8405ce55c4cff18e0ca (diff) | |
| download | bcm5719-llvm-de24a940a706255142a1dbcc798834c5b6dc5cd2.tar.gz bcm5719-llvm-de24a940a706255142a1dbcc798834c5b6dc5cd2.zip | |
Update doxygen comments about lifetime requirements of CXUnsaveFile data arguments.
llvm-svn: 101054
Diffstat (limited to 'clang/include/clang-c')
| -rw-r--r-- | clang/include/clang-c/Index.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index f7b847529f4..bfb64817da1 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -609,7 +609,9 @@ clang_getTranslationUnitSpelling(CXTranslationUnit CTUnit); * * \param unsaved_files the files that have not yet been saved to disk * but may be required for code completion, including the contents of - * those files. + * those files. The contents and name of these files (as specified by + * CXUnsavedFile) are copied when necessary, so the client only needs to + * guarantee their validity until the call to this function returns. * * \param diag_callback callback function that will receive any diagnostics * emitted while processing this source file. If NULL, diagnostics will be @@ -1701,7 +1703,9 @@ typedef struct { * * \param unsaved_files the files that have not yet been saved to disk * but may be required for code completion, including the contents of - * those files. + * those files. The contents and name of these files (as specified by + * CXUnsavedFile) are copied when necessary, so the client only needs to + * guarantee their validity until the call to this function returns. * * \param complete_filename the name of the source file where code completion * should be performed. In many cases, this name will be the same as the |

