[all-commits] [llvm/llvm-project] e28d8f: [lldb] Replace SmallStr.str().str() with std::stri...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jan 29 21:34:26 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e28d8f9069b92f5c20416c575f49727daf5adb1a
      https://github.com/llvm/llvm-project/commit/e28d8f9069b92f5c20416c575f49727daf5adb1a
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp
    M lldb/unittests/Expression/CppModuleConfigurationTest.cpp

  Log Message:
  -----------
  [lldb] Replace SmallStr.str().str() with std::string conversion operator.

Use the std::string conversion operator introduced in
d7049213d0fcda691c9e79f9b41e357198d99738. The SmallString in the log
statement doesn't require conversion at all when using the variadic log
macro.




More information about the All-commits mailing list