[clang] 662ef86 - [clang][NFC] Remove useless code in ASTWriter
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 24 01:09:16 PDT 2024
Author: Vlad Serebrennikov
Date: 2024-04-24T11:09:06+03:00
New Revision: 662ef8604268b207910225ecca90daf30a46720b
URL: https://github.com/llvm/llvm-project/commit/662ef8604268b207910225ecca90daf30a46720b
DIFF: https://github.com/llvm/llvm-project/commit/662ef8604268b207910225ecca90daf30a46720b.diff
LOG: [clang][NFC] Remove useless code in ASTWriter
A follow-up to #71709, addressing the static analysis finding reported in https://github.com/llvm/llvm-project/pull/71709/files#r1576846306
Added:
Modified:
clang/lib/Serialization/ASTWriter.cpp
Removed:
################################################################################
diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp
index a1b340b252fb08..d0c1217156a593 100644
--- a/clang/lib/Serialization/ASTWriter.cpp
+++ b/clang/lib/Serialization/ASTWriter.cpp
@@ -3618,7 +3618,6 @@ class ASTIdentifierTableTrait {
/// doesn't check whether the name has macros defined; use PublicMacroIterator
/// to check that.
bool isInterestingIdentifier(const IdentifierInfo *II, uint64_t MacroOffset) {
- II->getObjCOrBuiltinID();
bool IsInteresting =
II->getNotableIdentifierID() !=
tok::NotableIdentifierKind::not_notable ||
More information about the cfe-commits
mailing list