[all-commits] [llvm/llvm-project] c70f36: Use basic_string::find(char) instead of basic_stri...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Dec 16 23:28:51 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c70f36865e040840f4c4a82108f5e356d92a2923
      https://github.com/llvm/llvm-project/commit/c70f36865e040840f4c4a82108f5e356d92a2923
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-12-16 (Wed, 16 Dec 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
    M clang/lib/Basic/Module.cpp
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/lib/CrossTU/CrossTranslationUnit.cpp
    M clang/utils/TableGen/NeonEmitter.cpp
    M clang/utils/TableGen/SveEmitter.cpp
    M lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
    M llvm/lib/CodeGen/MIRCanonicalizerPass.cpp
    M llvm/lib/FileCheck/FileCheck.cpp
    M llvm/lib/Support/Host.cpp
    M llvm/lib/Target/SystemZ/SystemZHazardRecognizer.cpp
    M llvm/tools/gold/gold-plugin.cpp
    M llvm/tools/llvm-lto/llvm-lto.cpp

  Log Message:
  -----------
  Use basic_string::find(char) instead of basic_string::find(const char *s, size_type pos=0)

Many (StringRef) cannot be detected by clang-tidy performance-faster-string-find.




More information about the All-commits mailing list