[clang-tools-extra] [clang-tidy] Warn on use of std::get_temporary_buffer (PR #176191)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 18 00:04:42 PST 2026


=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/176191 at github.com>


================
@@ -48,6 +48,7 @@ availability:
 
  - ``rewind``, suggested replacement: ``fseek``
  - ``setbuf``, suggested replacement: ``setvbuf``
+ - ``std::get_temporary_buffer``, suggested replacement: "plain" allocation with ``operator new[]``
----------------
zeyi2 wrote:

Seems that this line is longer than 80 chars, not sure why doc8 didn't lint this...

Could you split this into two lines?

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


More information about the cfe-commits mailing list