r258591 - [analyzer] Fixup r258572 Utility to match function calls.

Anna Zaks via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 22 16:45:37 PST 2016


Author: zaks
Date: Fri Jan 22 18:45:37 2016
New Revision: 258591

URL: http://llvm.org/viewvc/llvm-project?rev=258591&view=rev
Log:
[analyzer] Fixup r258572 Utility to match function calls.

Initialize the IdentifierInfo pointer. Hope this fixes the buildbot breakage.

Modified:
    cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h

Modified: cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h?rev=258591&r1=258590&r2=258591&view=diff
==============================================================================
--- cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h (original)
+++ cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h Fri Jan 22 18:45:37 2016
@@ -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>




More information about the cfe-commits mailing list