[clang] [clang] [NFC] Improve move-assign and move-constructor for NestedNameSpecifierLocBuilder (PR #180484)

via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 15 08:42:57 PST 2026


serge-sans-paille wrote:

Correct me if I'm wrong but if the two objects own a buffer, then the swap will just swap the buffers and the moved object is left on a valid but non empty state, right?

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


More information about the cfe-commits mailing list