]> granicus.if.org Git - clang/commit
RewriteBuffer::write(): Add a doc comment about non-portable use
authorAlp Toker <alp@nuanti.com>
Sun, 17 Nov 2013 18:13:43 +0000 (18:13 +0000)
committerAlp Toker <alp@nuanti.com>
Sun, 17 Nov 2013 18:13:43 +0000 (18:13 +0000)
commit98b303cfd3edb82653f0534cdcaa87c582a3ddbd
tree529b6cfdfce4b4f84f9330f463d9290f36ca28ba
parentf2e479edc8156e1d8d17c5289b41113d7408ac35
RewriteBuffer::write(): Add a doc comment about non-portable use

The function isn't strictly at fault but there are callers using it
incorrectly, causing crashes with in-place edits of 64KB or larger files on
Windows.

See PR17960 for details.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194972 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Rewrite/Core/Rewriter.h