[PATCH] D156904: [NFC][clang] Fix static analyzer concerns
Mariya Podchishchaeva via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 3 01:53:03 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG962deded6c30: [NFC][clang] Fix static analyzer concerns (authored by Fznamznon).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156904/new/
https://reviews.llvm.org/D156904
Files:
clang/lib/Sema/IdentifierResolver.cpp
Index: clang/lib/Sema/IdentifierResolver.cpp
===================================================================
--- clang/lib/Sema/IdentifierResolver.cpp
+++ clang/lib/Sema/IdentifierResolver.cpp
@@ -60,6 +60,9 @@
}
}
+ IdDeclInfoMap(const IdDeclInfoMap &) = delete;
+ IdDeclInfoMap &operator=(const IdDeclInfoMap &) = delete;
+
/// Returns the IdDeclInfo associated to the DeclarationName.
/// It creates a new IdDeclInfo if one was not created before for this id.
IdDeclInfo &operator[](DeclarationName Name);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156904.546751.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230803/1cd628ec/attachment-0001.bin>
More information about the cfe-commits
mailing list