[PATCH] D156222: [NFC][clang] Fix static analyzer concerns
Mariya Podchishchaeva via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 26 01:58:07 PDT 2023
Fznamznon updated this revision to Diff 544262.
Fznamznon added a comment.
Rebase to maybe pass precommit
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156222/new/
https://reviews.llvm.org/D156222
Files:
clang/lib/Sema/TypeLocBuilder.h
Index: clang/lib/Sema/TypeLocBuilder.h
===================================================================
--- clang/lib/Sema/TypeLocBuilder.h
+++ clang/lib/Sema/TypeLocBuilder.h
@@ -53,6 +53,9 @@
delete[] Buffer;
}
+ TypeLocBuilder(const TypeLocBuilder &) = delete;
+ TypeLocBuilder &operator=(const TypeLocBuilder &) = delete;
+
/// Ensures that this buffer has at least as much capacity as described.
void reserve(size_t Requested) {
if (Requested > Capacity)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156222.544262.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230726/17b7306c/attachment-0001.bin>
More information about the cfe-commits
mailing list