Make helpers static/anonymous.

llvm-svn: 168500
This commit is contained in:
Benjamin Kramer
2012-11-22 15:02:44 +00:00
parent 6b8b2a9b98
commit ba4c85e51d
2 changed files with 6 additions and 3 deletions

View File

@@ -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.
///