This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by josh.mottley.arm on Oct 18 2021, 3:18 AM.

Details

Summary

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.

Diff Detail