commit | 0372a5754796dcde82405991913b1dad0e0caaf7 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Fri Nov 16 15:47:06 2018 +0000 |
committer | Andrew Scull <ascull@google.com> | Fri Nov 16 15:47:06 2018 +0000 |
tree | 3add18136001cb2be4b9c9ff40d7cf133f783a84 | |
parent | cdfccccb1ea3e050b07dc59f87e214ee979da2ae [diff] [blame] |
Update clang to r339409b. Change-Id: Ied8a188bb072c40035320acedc86164b66d920af
diff --git a/linux-x64/clang/include/llvm/Support/FileOutputBuffer.h b/linux-x64/clang/include/llvm/Support/FileOutputBuffer.h index ee8cbb7..68226ca 100644 --- a/linux-x64/clang/include/llvm/Support/FileOutputBuffer.h +++ b/linux-x64/clang/include/llvm/Support/FileOutputBuffer.h
@@ -76,6 +76,10 @@ /// deallocates the buffer and the target file is never written. virtual ~FileOutputBuffer() {} + /// This removes the temporary file (unless it already was committed) + /// but keeps the memory mapping alive. + virtual void discard() {} + protected: FileOutputBuffer(StringRef Path) : FinalPath(Path) {}