summaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny.ornl@gmail.com>2019-08-15 21:17:48 +0000
committerJoel E. Denny <jdenny.ornl@gmail.com>2019-08-15 21:17:48 +0000
commitd26564a610d3fa1449a3c36dc15709be7861cc39 (patch)
treec42ad8b479b42a4fe75fc09390aa2a1f33771ecf /lib/Frontend/CompilerInvocation.cpp
parenta7c19e4d402562f77cb59278b23e2c65f9d810fe (diff)
downloadclang-d26564a610d3fa1449a3c36dc15709be7861cc39.tar.gz
[Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug
I'd like to add these comments to warn others of problems I encountered when trying to use `RemoveLineIfEmpty`. I originally tried to fix the problem, but I realized I could implement the functionality more easily and efficiently in my calling code where I can make the simplifying assumption that there are no prior edits to the line from which text is being removed. While I've lost the motivation to write a fix, which doesn't look easy, I figure a warning to others is better than silence. I've added a unit test to demonstrate the problem. I don't know how to mark it as an expected failure, so I just marked it disabled. Reviewed By: jkorous Differential Revision: https://reviews.llvm.org/D61466 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions