[all-commits] [llvm/llvm-project] e9fe8e: [flang] flang-omp-report replace std::map with llv...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Wed Oct 20 01:05:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9fe8ef4b0aa68be782a9139e08e9337ef79a462
      https://github.com/llvm/llvm-project/commit/e9fe8ef4b0aa68be782a9139e08e9337ef79a462
  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 replace std::map with llvm::DenseMap

This patch replaces the uses of std::map with llvm::DenseMap in the
flang-omp-report plugin. It also removed the 'constructClauseCount' map
due to no longer being needed after the plugin was stripped down.
This is a one of several patches focusing on switching containers from STL to LLVM's ADT library.

Reviewed By: kiranchandramohan, clementval

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




More information about the All-commits mailing list