[clang] 1907f28 - [Analyzer][StreamChecker] Fixed compile error - NFC.
Balázs Kéri via cfe-commits
cfe-commits at lists.llvm.org
Mon May 18 08:13:49 PDT 2020
Author: Balázs Kéri
Date: 2020-05-18T17:14:39+02:00
New Revision: 1907f28b47cfe9c951df43309d121679895b0edf
URL: https://github.com/llvm/llvm-project/commit/1907f28b47cfe9c951df43309d121679895b0edf
DIFF: https://github.com/llvm/llvm-project/commit/1907f28b47cfe9c951df43309d121679895b0edf.diff
LOG: [Analyzer][StreamChecker] Fixed compile error - NFC.
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 d079951221d0..c94cae045239 100644
--- a/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
@@ -108,10 +108,10 @@ struct StreamState {
return StreamState{L, Opened, ES};
}
static StreamState getClosed(const FnDescription *L) {
- return StreamState{L, Closed};
+ return StreamState{L, Closed, {}};
}
static StreamState getOpenFailed(const FnDescription *L) {
- return StreamState{L, OpenFailed};
+ return StreamState{L, OpenFailed, {}};
}
void Profile(llvm::FoldingSetNodeID &ID) const {
More information about the cfe-commits
mailing list