[all-commits] [llvm/llvm-project] 2b6160: [analyzer] MmapWriteExecChecker: use getAs instead...

Ding Fei via All-commits all-commits at lists.llvm.org
Tue Aug 29 21:35:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b6160ea3f9aa1e859928053ef2893fd511430f2
      https://github.com/llvm/llvm-project/commit/2b6160ea3f9aa1e859928053ef2893fd511430f2
  Author: dingfei <fding at feysh.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/MmapWriteExecChecker.cpp
    M clang/test/Analysis/mmap-writeexec.c

  Log Message:
  -----------
  [analyzer] MmapWriteExecChecker: use getAs instead of castAs

Use 'getAs' instead of 'castAs'

Reviewed By: steakhal

Fixes https://github.com/llvm/llvm-project/issues/62285

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




More information about the All-commits mailing list