diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-22 15:02:44 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-22 15:02:44 +0000 |
commit | 4d9f4e5bfa701fc870e3c481f93f1fcc52d327bb (patch) | |
tree | ae4ee722ac0d9899dd8f1ec686812aa9ac9b2866 /tools/libclang/CIndexCodeCompletion.cpp | |
parent | 746619a5ace6dcbd0970e904b1ebda838064ec03 (diff) |
Make helpers static/anonymous.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/CIndexCodeCompletion.cpp')
-rw-r--r-- | tools/libclang/CIndexCodeCompletion.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/libclang/CIndexCodeCompletion.cpp b/tools/libclang/CIndexCodeCompletion.cpp index 46af661d0e..67e64c4e23 100644 --- a/tools/libclang/CIndexCodeCompletion.cpp +++ b/tools/libclang/CIndexCodeCompletion.cpp @@ -236,7 +236,8 @@ clang_getCompletionBriefComment(CXCompletionString completion_string) { return createCXString(CCStr->getBriefComment(), /*DupString=*/false); } - +namespace { + /// \brief The CXCodeCompleteResults structure we allocate internally; /// the client only sees the initial CXCodeCompleteResults structure. struct AllocatedCXCodeCompleteResults : public CXCodeCompleteResults { @@ -298,6 +299,8 @@ struct AllocatedCXCodeCompleteResults : public CXCodeCompleteResults { std::string Selector; }; +} // end anonymous namespace + /// \brief Tracks the number of code-completion result objects that are /// currently active. /// |