[all-commits] [llvm/llvm-project] 9dfd4e: [lldb][NFC] Remove ConstString -> const char * -> ...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Feb 11 04:52:38 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9dfd4e260bd4f9f1d9d0fce343ed645fdd331261
      https://github.com/llvm/llvm-project/commit/9dfd4e260bd4f9f1d9d0fce343ed645fdd331261
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-02-11 (Tue, 11 Feb 2020)

  Changed paths:
    M lldb/source/Interpreter/OptionValueDictionary.cpp
    M lldb/source/Interpreter/Options.cpp
    M lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp

  Log Message:
  -----------
  [lldb][NFC] Remove ConstString -> const char * -> StringRef conversions when calling Stream::Indent

Let's just pass in a StringRef and save the strlen call when rebuilding the StringRef parameter.




More information about the All-commits mailing list