From 226415642ffe4f7635f9654674badf88a345ba4a Mon Sep 17 00:00:00 2001 From: Artem Dergachev Date: Tue, 27 Feb 2018 02:53:30 +0000 Subject: [PATCH] [analyzer] Fix an uninitialized field. Found by the analyzer! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326165 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h b/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h index ce81c98c20..fcc080a05f 100644 --- a/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h +++ b/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h @@ -50,6 +50,7 @@ class FunctionSummariesTy { FunctionSummary() : TotalBasicBlocks(0), InlineChecked(0), + MayInline(0), TimesInlined(0) {} }; -- 2.40.0