diff options
| -rw-r--r-- | clang/include/clang/Basic/SourceLocation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/SourceLocation.h b/clang/include/clang/Basic/SourceLocation.h index 60bba98abfb..9ee1f308c5e 100644 --- a/clang/include/clang/Basic/SourceLocation.h +++ b/clang/include/clang/Basic/SourceLocation.h @@ -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) { |

