[cfe-commits] r146146 - /cfe/trunk/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp

Francois Pichet pichet2000 at gmail.com
Thu Dec 8 01:32:22 PST 2011


Author: fpichet
Date: Thu Dec  8 03:32:22 2011
New Revision: 146146

URL: http://llvm.org/viewvc/llvm-project?rev=146146&view=rev
Log:
Unbreak MSVC build.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp?rev=146146&r1=146145&r2=146146&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp Thu Dec  8 03:32:22 2011
@@ -93,7 +93,7 @@
     if (FD) {
       IdentifierInfo *II = FD->getIdentifier();
       if (II == II_malloc || II == II_calloc || II == II_realloc)
-        return TypeCallPair(0, E);
+        return TypeCallPair((const TypeSourceInfo *)0, E);
     }
     return TypeCallPair();
   }





More information about the cfe-commits mailing list