diff options
author | Chris Bieneman <beanz@abolishcrlf.org> | 2022-01-18 18:20:14 -0600 |
---|---|---|
committer | Chris Bieneman <beanz@abolishcrlf.org> | 2022-01-21 09:47:02 -0600 |
commit | 9d3437fbf3419502351d41ff9e28f06b0c3f06e8 (patch) | |
tree | d38c6c313963c7d7d4cea210d954c5c84d3c65a7 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9900acacfb3ff2bc5c957aeb84225c29aa1b74fc (diff) | |
download | llvm-9d3437fbf3419502351d41ff9e28f06b0c3f06e8.zip llvm-9d3437fbf3419502351d41ff9e28f06b0c3f06e8.tar.gz llvm-9d3437fbf3419502351d41ff9e28f06b0c3f06e8.tar.bz2 |
[ADT] [NFC] Add StringRef::detectEOL
This change moves EOL detection out of the clang::InclusionRewriter into
llvm::StringRef so that it can be easily reused elsewhere. It also adds
additional explicit test cases to verify the correct and expected return
results.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D117626
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions