[cfe-commits] r45587 - /cfe/trunk/include/clang/Analysis/ProgramEdge.h

Chris Lattner sabre at nondot.org
Fri Jan 4 08:27:04 PST 2008


Author: lattner
Date: Fri Jan  4 10:27:03 2008
New Revision: 45587

URL: http://llvm.org/viewvc/llvm-project?rev=45587&view=rev
Log:
fix a build problem where NULL isn't implicitly defined by the headers this file includes.


Modified:
    cfe/trunk/include/clang/Analysis/ProgramEdge.h

Modified: cfe/trunk/include/clang/Analysis/ProgramEdge.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/ProgramEdge.h?rev=45587&r1=45586&r2=45587&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/ProgramEdge.h (original)
+++ cfe/trunk/include/clang/Analysis/ProgramEdge.h Fri Jan  4 10:27:03 2008
@@ -114,7 +114,7 @@
 template <> struct DenseMapInfo<clang::ProgramEdge> {
 
   static inline clang::ProgramEdge getEmptyKey() {
-    return clang::BlkBlkEdge(NULL,NULL);
+    return clang::BlkBlkEdge(0, 0);
   }
   
   static inline clang::ProgramEdge getTombstoneKey() {





More information about the cfe-commits mailing list