[all-commits] [llvm/llvm-project] efda33: [clang-tidy] Make readability-container-data-point...

Mike Crowe via All-commits all-commits at lists.llvm.org
Sat Mar 11 05:59:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efda335bf5be11b5ad4f94f3319d859563542553
      https://github.com/llvm/llvm-project/commit/efda335bf5be11b5ad4f94f3319d859563542553
  Author: Mike Crowe <mac at mcrowe.com>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
    M clang-tools-extra/test/clang-tidy/checkers/readability/container-data-pointer.cpp

  Log Message:
  -----------
  [clang-tidy] Make readability-container-data-pointer use <string> header

This requires operator[] to be added to the std::basic_string
implementation.

Depends on D144216

Reviewed By: carlosgalvezp

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




More information about the All-commits mailing list