[all-commits] [llvm/llvm-project] 54d24e: [clang][dataflow][NFC] Fix outdated comment on get...

Eric Li via All-commits all-commits at lists.llvm.org
Thu Aug 4 08:15:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54d24eae98726e37867bc3a683cd58af6ec128df
      https://github.com/llvm/llvm-project/commit/54d24eae98726e37867bc3a683cd58af6ec128df
  Author: Eric Li <li.zhe.hua at gmail.com>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

  Changed paths:
    M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h

  Log Message:
  -----------
  [clang][dataflow][NFC] Fix outdated comment on getStableStorageLocation

Follow-up to D129097.

It is no longer a requirement that the `QualType` passed to to
`DataflowAnalysisContext::getStableStorageLocation()` is not null. A
null type pass as an argument is only applicable as the pointee type
of a `std::nullptr_t` pointer.

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




More information about the All-commits mailing list