Drop the udis86 wrapper from llvm::sys
[oota-llvm.git] / lib / Support / SourceMgr.cpp
index 595c6eec1107fd0b3651cbe89bbd528b989c9bab..003cb56e6cb5f22afa5b6f022f104ecf8f1d5325 100644 (file)
@@ -49,9 +49,9 @@ SourceMgr::~SourceMgr() {
   }
 }
 
-size_t SourceMgr::AddIncludeFile(const std::string &Filename,
-                                 SMLoc IncludeLoc,
-                                 std::string &IncludedFile) {
+unsigned SourceMgr::AddIncludeFile(const std::string &Filename,
+                                   SMLoc IncludeLoc,
+                                   std::string &IncludedFile) {
   IncludedFile = Filename;
   ErrorOr<std::unique_ptr<MemoryBuffer>> NewBufOrErr =
       MemoryBuffer::getFile(IncludedFile.c_str());