[all-commits] [llvm/llvm-project] e37b28: [analyzer][NFC] Use idiomatic classof instead of i...

Balazs Benics via All-commits all-commits at lists.llvm.org
Fri May 27 01:57:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e37b287998a72b028fbcf623f06685ed2b6b48e2
      https://github.com/llvm/llvm-project/commit/e37b287998a72b028fbcf623f06685ed2b6b48e2
  Author: Balazs Benics <balazs.benics at sigmatechnology.se>
  Date:   2022-05-27 (Fri, 27 May 2022)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h

  Log Message:
  -----------
  [analyzer][NFC] Use idiomatic classof instead of isKind

- Rename `isKind()` to `classof()` to follow the llvm style RTTI.
- Take SVal by-value instead of reference.
- Mark `classof` public.

Reviewed By: martong, xazax.hun

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


  Commit: d8def22f7be120ab159220a9e6d450b26bf50bca
      https://github.com/llvm/llvm-project/commit/d8def22f7be120ab159220a9e6d450b26bf50bca
  Author: Balazs Benics <balazs.benics at sigmatechnology.se>
  Date:   2022-05-27 (Fri, 27 May 2022)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h

  Log Message:
  -----------
  [analyzer][NFC] Remove unused friend SVal declarations

Reviewed By: martong, xazax.hun

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


  Commit: 7727d2abece6855ec6486ca0600998bfa35882a1
      https://github.com/llvm/llvm-project/commit/7727d2abece6855ec6486ca0600998bfa35882a1
  Author: Balazs Benics <balazs.benics at sigmatechnology.se>
  Date:   2022-05-27 (Fri, 27 May 2022)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h

  Log Message:
  -----------
  [analyzer][NFC] Remove unused default SVal constructors

Reviewed By: martong, xazax.hun

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


Compare: https://github.com/llvm/llvm-project/compare/3606da5fbad0...7727d2abece6


More information about the All-commits mailing list