[clang] [libclang] Always Dup in createRef(StringRef) (PR #125020)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 12 05:26:43 PST 2025


AaronBallman wrote:

> The public libclang interface needs to be stable, yes... but in this context, that's just the interfaces declared in clang/include/clang-c/CXString.h. We can do whatever we want with the internal interface in clang/tools/libclang/CXString.h.

Oh, good catch! Agreed. :-)

https://github.com/llvm/llvm-project/pull/125020


More information about the cfe-commits mailing list