aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChris Bieneman <beanz@abolishcrlf.org>2022-01-18 18:20:14 -0600
committerChris Bieneman <beanz@abolishcrlf.org>2022-01-21 09:47:02 -0600
commit9d3437fbf3419502351d41ff9e28f06b0c3f06e8 (patch)
treed38c6c313963c7d7d4cea210d954c5c84d3c65a7 /flang/lib/Frontend/CompilerInvocation.cpp
parent9900acacfb3ff2bc5c957aeb84225c29aa1b74fc (diff)
downloadllvm-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