mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
SourceMgr: consistently use 'unsigned' for the memory buffer ID type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212595 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user