summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/lambda-notes.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2017-02-27 22:59:58 +0000
committerNico Weber <nicolasweber@gmx.de>2017-02-27 22:59:58 +0000
commit65da45763e516c9b6165e7327bf1e513c70d28b7 (patch)
tree3ff9581b8f4d51742389b933291625a8ac514f00 /clang/test/Analysis/lambda-notes.cpp
parent4c7458b00d9521697c4e68b706404cb86106fb0b (diff)
downloadbcm5719-llvm-65da45763e516c9b6165e7327bf1e513c70d28b7.tar.gz
bcm5719-llvm-65da45763e516c9b6165e7327bf1e513c70d28b7.zip
clang-format: Don't leave behind temp files in -i mode on Windows, PR26125, reloaded
Second attempt after http://llvm.org/viewvc/llvm-project?rev=296166&view=rev In the first attempt, Code (the memory buffer backing the input file) was reset before overwriteChangedFiles() was called, but overwriteChangedFiles() still reads from it. This time, load the whole input file into memory instead of using mmap when formatting in-place. (Since the test is identical to what was in the repo before chapuni's revert, svn diff doesn't show it – see the above link for the test.) https://reviews.llvm.org/D30385 llvm-svn: 296408
Diffstat (limited to 'clang/test/Analysis/lambda-notes.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud