diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-04 16:27:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-04 16:27:03 +0000 |
commit | 6d9b9e4f61e790d71e134cb84ec21230fb41341f (patch) | |
tree | 5fc579e187c8564bdbbdcfcce0a8e3e445f61801 /include/clang/Analysis/ProgramEdge.h | |
parent | 1f990d67c2d24cb330434f42dd62a3a0cc4aa6e9 (diff) |
fix a build problem where NULL isn't implicitly defined by the headers this file includes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45587 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/ProgramEdge.h')
-rw-r--r-- | include/clang/Analysis/ProgramEdge.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/ProgramEdge.h b/include/clang/Analysis/ProgramEdge.h index 0962d71461..fb81c701f3 100644 --- a/include/clang/Analysis/ProgramEdge.h +++ b/include/clang/Analysis/ProgramEdge.h @@ -114,7 +114,7 @@ namespace llvm { // Traits specialization for DenseMap 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() { |