[all-commits] [llvm/llvm-project] 0c3df7: Remove global std::string. StringRef is sufficient...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Sun Jun 7 08:27:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c3df70fad83daba2384fab10e026288a9571901
      https://github.com/llvm/llvm-project/commit/0c3df70fad83daba2384fab10e026288a9571901
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2020-06-07 (Sun, 07 Jun 2020)

  Changed paths:
    M clang/lib/Analysis/ExprMutationAnalyzer.cpp

  Log Message:
  -----------
  Remove global std::string. StringRef is sufficient. NFC.


  Commit: 5a098086f996ce143c9ea9500934cd88777191e9
      https://github.com/llvm/llvm-project/commit/5a098086f996ce143c9ea9500934cd88777191e9
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2020-06-07 (Sun, 07 Jun 2020)

  Changed paths:
    M clang/include/clang/Driver/Phases.h
    M clang/lib/Driver/Types.cpp

  Log Message:
  -----------
  Put compilation phases from Types.def into a bit set

This avoids a global constructor and is a bit more efficient for
"contained" queries. No functionality change intended.


Compare: https://github.com/llvm/llvm-project/compare/53a4bfa80347...5a098086f996


More information about the All-commits mailing list