aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PCHWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-27 19:03:22 +0000
committerChris Lattner <sabre@nondot.org>2009-04-27 19:03:22 +0000
commit828e18cd80319c67b9b9776d1ed5411161d9f0bf (patch)
tree520ad0a1092a8b7f94046bdb4c376b18ce5a3d28 /lib/Frontend/PCHWriter.cpp
parent090d9b53e32bb30d9e74de895bb59b409bd49e00 (diff)
make these be unsigned now that they are eagerly created.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70229 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHWriter.cpp')
-rw-r--r--lib/Frontend/PCHWriter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Frontend/PCHWriter.cpp b/lib/Frontend/PCHWriter.cpp
index d8603dfb69..bb85b68b7e 100644
--- a/lib/Frontend/PCHWriter.cpp
+++ b/lib/Frontend/PCHWriter.cpp
@@ -681,10 +681,10 @@ void PCHWriter::WriteSourceManagerBlock(SourceManager &SourceMgr,
Stream.EnterSubblock(pch::SOURCE_MANAGER_BLOCK_ID, 3);
// Abbreviations for the various kinds of source-location entries.
- int SLocFileAbbrv = CreateSLocFileAbbrev(Stream);
- int SLocBufferAbbrv = CreateSLocBufferAbbrev(Stream);
- int SLocBufferBlobAbbrv = CreateSLocBufferBlobAbbrev(Stream);
- int SLocInstantiationAbbrv = CreateSLocInstantiationAbbrev(Stream);
+ unsigned SLocFileAbbrv = CreateSLocFileAbbrev(Stream);
+ unsigned SLocBufferAbbrv = CreateSLocBufferAbbrev(Stream);
+ unsigned SLocBufferBlobAbbrv = CreateSLocBufferBlobAbbrev(Stream);
+ unsigned SLocInstantiationAbbrv = CreateSLocInstantiationAbbrev(Stream);
// Write the line table.
if (SourceMgr.hasLineTable()) {