]> granicus.if.org Git - clang/commitdiff
[analyzer] Fix an uninitialized field.
authorArtem Dergachev <artem.dergachev@gmail.com>
Tue, 27 Feb 2018 02:53:30 +0000 (02:53 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Tue, 27 Feb 2018 02:53:30 +0000 (02:53 +0000)
Found by the analyzer!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326165 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h

index ce81c98c206b23131485e70f6294fd7c333540fc..fcc080a05f1161b763dfe33cd640f13d90d1d4d0 100644 (file)
@@ -50,6 +50,7 @@ class FunctionSummariesTy {
     FunctionSummary() :
       TotalBasicBlocks(0),
       InlineChecked(0),
+      MayInline(0),
       TimesInlined(0) {}
   };