[Lldb-commits] [PATCH] D12518: Simplify find_first_of & find_last_of on single char.
Bruce Mitchener via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 31 21:40:41 PDT 2015
brucem created this revision.
brucem added a reviewer: clayborg.
brucem added a subscriber: lldb-commits.
When calling find_first_of and find_last_of on a single character,
we can instead just call find / rfind and make our intent more
clear.
http://reviews.llvm.org/D12518
Files:
source/Core/FormatEntity.cpp
source/Host/common/FileSpec.cpp
source/Host/common/ThisThread.cpp
source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
source/Utility/UriParser.cpp
tools/lldb-mi/MICmdArgValFile.cpp
tools/lldb-mi/MICmdArgValOptionLong.cpp
tools/lldb-mi/MICmdArgValString.cpp
tools/lldb-mi/MICmdArgValThreadGrp.cpp
tools/lldb-mi/MICmdCmdBreak.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12518.33664.patch
Type: text/x-patch
Size: 7380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150901/697b6ace/attachment.bin>
More information about the lldb-commits
mailing list