Removed "NULL" from default construction of FullSourceLoc (compilation errors on
some systems).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44953 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/Basic/SourceLocation.h b/include/clang/Basic/SourceLocation.h
index 60bba98..9ee1f30 100644
--- a/include/clang/Basic/SourceLocation.h
+++ b/include/clang/Basic/SourceLocation.h
@@ -209,7 +209,8 @@
const SourceManager* SrcMgr;
public:
// Creates a FullSourceLoc where isValid() returns false.
- explicit FullSourceLoc() : Loc(SourceLocation()), SrcMgr(NULL) {}
+ explicit FullSourceLoc()
+ : Loc(SourceLocation()), SrcMgr((SourceManager*) 0) {}
explicit FullSourceLoc(SourceLocation loc, const SourceManager& smgr)
: Loc(loc), SrcMgr(&smgr) {