[all-commits] [llvm/llvm-project] 660c51: [Flang][flang-omp-report] Switch from std::string ...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Wed Oct 20 00:56:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 660c511e5b79d3724b8a139c8865c790d77b1f8f
      https://github.com/llvm/llvm-project/commit/660c511e5b79d3724b8a139c8865c790d77b1f8f
  Author: Josh Mottley <josh.mottley at arm.com>
  Date:   2021-10-20 (Wed, 20 Oct 2021)

  Changed paths:
    M flang/examples/flang-omp-report-plugin/flang-omp-report-visitor.cpp
    M flang/examples/flang-omp-report-plugin/flang-omp-report-visitor.h

  Log Message:
  -----------
  [Flang][flang-omp-report] Switch from std::string to StringRef (where possible)

This patch makes the following changes to flang-omp-report:
 - Update 'normalize_clause_name' parameter to use llvm::StringRef instead of
   std::sting.
 - Change usages of std::tolower to llvm::toLower from
   "ADT/StringExtras.h".
This is a one of several patches focusing on switching containers from STL to LLVM's ADT library.

Reviewed By: Leporacanthicus, clementval

Differential Revision: https://reviews.llvm.org/D111980




More information about the All-commits mailing list