File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -67,9 +67,12 @@ CXString createRef(std::string String) = delete;
6767// / Create a CXString object that is backed by a string buffer.
6868CXString 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.
7272CXStringSet *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.
7376CXStringSet *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-
You can’t perform that action at this time.
0 commit comments