]> granicus.if.org Git - clang/commitdiff
libclang: document the purpose of createNull()
authorDmitri Gribenko <gribozavr@gmail.com>
Fri, 1 Feb 2013 16:38:41 +0000 (16:38 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Fri, 1 Feb 2013 16:38:41 +0000 (16:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174195 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/CXString.h

index 0495ee9616689e17c6efce7b5a4898123638ce96..06887124fa5c7000fd296c6ce681037e032661e1 100644 (file)
@@ -29,6 +29,8 @@ struct CXStringBuf;
 CXString createEmpty();
 
 /// \brief Create a CXString object for an NULL string.
+///
+/// A NULL string should be used as an "invalid" value in case of errors.
 CXString createNull();
 
 /// \brief Create a CXString object from a C string.