[clang] clang_EvalResult_getAsCXString impl (PR #134551)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 7 04:42:45 PDT 2025
================
@@ -52,6 +54,7 @@ typedef struct {
* to `std::string::c_str()`.
*/
CINDEX_LINKAGE const char *clang_getCString(CXString string);
+CINDEX_LINKAGE const char *clang_getCString2(CXString string, size_t *length);
----------------
AaronBallman wrote:
We should document that `length` cannot be null.
https://github.com/llvm/llvm-project/pull/134551
More information about the cfe-commits
mailing list