mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Initial implementation of the "print" part of the REPL.
Swift SVN r1484
This commit is contained in:
@@ -57,7 +57,8 @@ swift::buildSingleTranslationUnit(ASTContext &Context, unsigned BufferID,
|
||||
const llvm::MemoryBuffer *Buffer = Context.SourceMgr.getMemoryBuffer(BufferID);
|
||||
Identifier ID = getModuleIdentifier(Buffer, Context);
|
||||
TranslationUnit *TU = new (Context) TranslationUnit(ID, Comp, Context,
|
||||
IsMainModule);
|
||||
IsMainModule,
|
||||
/*IsReplModule=*/false);
|
||||
|
||||
unsigned BufferOffset = 0;
|
||||
unsigned CurTUElem = 0;
|
||||
|
||||
Reference in New Issue
Block a user