]> granicus.if.org Git - clang/commitdiff
[analyzer] Fixup r258572 Utility to match function calls.
authorAnna Zaks <ganna@apple.com>
Sat, 23 Jan 2016 00:45:37 +0000 (00:45 +0000)
committerAnna Zaks <ganna@apple.com>
Sat, 23 Jan 2016 00:45:37 +0000 (00:45 +0000)
Initialize the IdentifierInfo pointer. Hope this fixes the buildbot breakage.

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

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

index a67204c3bd431d24580f97aa5ebef3f34dee137c..55fd4b8880b54017ebdbb08f8d85a35bf5428f0a 100644 (file)
@@ -67,7 +67,7 @@ public:
   /// call. Omit this parameter to match every occurance of call with a given
   /// name regardless the number of arguments.
   CallDescription(StringRef FuncName, unsigned RequiredArgs = NoArgRequirement)
-      : FuncName(FuncName), RequiredArgs(RequiredArgs) {}
+      : II(nullptr), FuncName(FuncName), RequiredArgs(RequiredArgs) {}
 };
 
 template<typename T = CallEvent>