[clang] [libclang] Document CXUnsavedFile::Length width and fix test narrowing (PR #228405)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 16 04:05:58 PDT 2026


================
@@ -118,6 +118,11 @@ struct CXUnsavedFile {
 
   /**
    * The length of the unsaved contents of this buffer.
+   *
+   * This is intentionally \c unsigned \c long, not a fixed-width type, to
----------------
UebelAndre wrote:

Updated! I added the ABI-stability rationale to the commit message instead

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


More information about the cfe-commits mailing list