[all-commits] [llvm/llvm-project] ac616f: [Clang-tidy] Check the existence of ElaboratedType...

Jun Zhang via All-commits all-commits at lists.llvm.org
Tue Mar 1 07:54:53 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac616fbb05b8c0e8f85144d54d5295d2d663c5b7
      https://github.com/llvm/llvm-project/commit/ac616fbb05b8c0e8f85144d54d5295d2d663c5b7
  Author: Jun Zhang <jun at junz.org>
  Date:   2022-03-01 (Tue, 01 Mar 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-static-accessed-through-instance.cpp

  Log Message:
  -----------
  [Clang-tidy] Check the existence of ElaboratedType's qualifiers

The ElaboratedType can have no qualifiers, so we should check it before
use.

Fix #issue53874(https://github.com/llvm/llvm-project/issues/53874)

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




More information about the All-commits mailing list