[all-commits] [llvm/llvm-project] 0e9592: [clang-tidy] Improve check cert-dcl58-cpp.

Balázs Kéri via All-commits all-commits at lists.llvm.org
Thu Jul 14 00:05:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e95921bc303a206cc6ae1c21ee90ec223bf9e78
      https://github.com/llvm/llvm-project/commit/0e95921bc303a206cc6ae1c21ee90ec223bf9e78
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/cert/DontModifyStdNamespaceCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/cert/dcl58-cpp.rst
    M clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/system-header-simulation.h
    M clang-tools-extra/test/clang-tidy/checkers/cert/dcl58-cpp.cpp

  Log Message:
  -----------
  [clang-tidy] Improve check cert-dcl58-cpp.

Detect template specializations that should be handled specially.
In some cases it is allowed to extend the `std` namespace with
template specializations.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list