Skip to content

Commit ea4e8c6

Browse files
committed
Updating comments.
1 parent f3df957 commit ea4e8c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/tools/libclang/CXString.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,12 @@ CXString createRef(std::string String) = delete;
6767
/// Create a CXString object that is backed by a string buffer.
6868
CXString createCXString(CXStringBuf *buf);
6969

70-
/// Create a CXStringSet object owns the strings. Such an object should be
70+
/// Create a CXStringSet object that owns the strings. Such an object should be
7171
/// disposed with clang_disposeStringSet.
7272
CXStringSet *createSet(const std::vector<std::string> &Strings);
73+
74+
/// Create a CXStringSet object that does not own the strings. Such an object
75+
/// should still be disposed with clang_disposeStringSet.
7376
CXStringSet *createRefSet(ArrayRef<StringRef> Strings);
7477

7578
/// A string pool used for fast allocation/deallocation of strings.
@@ -108,4 +111,3 @@ static inline StringRef getContents(const CXUnsavedFile &UF) {
108111
}
109112

110113
#endif
111-

0 commit comments

Comments
 (0)