Rename SourceManager::createFileIDForMemBuffer()
It makes more sense to just overload createFileID(). Gardening only. llvm-svn: 209002
This commit is contained in:
@@ -55,7 +55,7 @@ protected:
|
||||
|
||||
FullComment *CommentParserTest::parseString(const char *Source) {
|
||||
MemoryBuffer *Buf = MemoryBuffer::getMemBuffer(Source);
|
||||
FileID File = SourceMgr.createFileIDForMemBuffer(Buf);
|
||||
FileID File = SourceMgr.createFileID(Buf);
|
||||
SourceLocation Begin = SourceMgr.getLocForStartOfFile(File);
|
||||
|
||||
Lexer L(Allocator, Diags, Traits, Begin, Source, Source + strlen(Source));
|
||||
|
||||
Reference in New Issue
Block a user