forked from OSchip/llvm-project
Removed "NULL" from default construction of FullSourceLoc (compilation errors on
some systems). llvm-svn: 44953
This commit is contained in:
parent
7ab71379b6
commit
9b7632eef8
|
@ -209,7 +209,8 @@ class FullSourceLoc {
|
|||
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) {
|
||||
|
|
Loading…
Reference in New Issue