[clang] 1b45fe5 - [clang][analyzer][NFC] Remove redundant code in StreamChecker (#71394)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 7 03:14:10 PST 2023
Author: Ben Shi
Date: 2023-11-07T19:14:05+08:00
New Revision: 1b45fe5c83e196604dffa33412c6d0b22c48fcf4
URL: https://github.com/llvm/llvm-project/commit/1b45fe5c83e196604dffa33412c6d0b22c48fcf4
DIFF: https://github.com/llvm/llvm-project/commit/1b45fe5c83e196604dffa33412c6d0b22c48fcf4.diff
LOG: [clang][analyzer][NFC] Remove redundant code in StreamChecker (#71394)
Added:
Modified:
clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
Removed:
################################################################################
diff --git a/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
index 898906977ba9bb6..69610029beb0a9e 100644
--- a/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
@@ -1093,7 +1093,6 @@ ProgramStateRef StreamChecker::ensureStreamOpened(SVal StreamVal,
N));
return nullptr;
}
- return State;
}
return State;
More information about the cfe-commits
mailing list