diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-08-16 16:46:30 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-08-16 16:46:30 +0000 |
commit | c4421e966d77a18f815284175b3fcbb46f36fa39 (patch) | |
tree | 3612a4e8b160ae8bd5cef07336fb38750e671d6c /include/clang/Frontend | |
parent | 05e3555b21d7fe123a57de5b26dbf4600376e776 (diff) |
Dereferencing NULL pointers is such poor form.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111150 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend')
-rw-r--r-- | include/clang/Frontend/ASTUnit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Frontend/ASTUnit.h b/include/clang/Frontend/ASTUnit.h index f18e70e750..f8859425ff 100644 --- a/include/clang/Frontend/ASTUnit.h +++ b/include/clang/Frontend/ASTUnit.h @@ -241,7 +241,8 @@ private: /// \brief The set of cached code-completion results. std::vector<CachedCodeCompletionResult> CachedCompletionResults; - /// \brief Cache any "global" code-completion results, so that we + /// \brief Cache any "global" code-completion results, so that we can avoid + /// recomputing them with each completion. void CacheCodeCompletionResults(); /// \brief Clear out and deallocate |