mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Record original source range of generated source buffers into dumped files
This helps us establish where the code from a generated source buffer would go, for external tools that don't understand serialized diagnostics.
This commit is contained in:
@@ -129,6 +129,7 @@ public:
|
||||
SourceManager(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS =
|
||||
llvm::vfs::getRealFileSystem())
|
||||
: FileSystem(FS) {}
|
||||
~SourceManager();
|
||||
|
||||
llvm::SourceMgr &getLLVMSourceMgr() {
|
||||
return LLVMSourceMgr;
|
||||
|
||||
Reference in New Issue
Block a user