diff options
Diffstat (limited to 'include/clang/Basic/SourceLocation.h')
-rw-r--r-- | include/clang/Basic/SourceLocation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/SourceLocation.h b/include/clang/Basic/SourceLocation.h index 2e0fb4d670..5c52906723 100644 --- a/include/clang/Basic/SourceLocation.h +++ b/include/clang/Basic/SourceLocation.h @@ -65,7 +65,6 @@ private: class SourceLocation { unsigned ID; friend class SourceManager; -public: enum { // FileID Layout: // bit 31: 0 -> FileID, 1 -> MacroID (invalid for FileID) @@ -88,6 +87,7 @@ public: // Useful constants. ChunkSize = (1 << FilePosBits) }; +public: SourceLocation() : ID(0) {} // 0 is an invalid FileID. |