[all-commits] [llvm/llvm-project] fde2b0: [clang][Interp][NFC] Add [[nodiscard]] to a few Po...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Sep 5 03:37:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fde2b0d6dba709ee6d699a4d67657604b8c0a026
      https://github.com/llvm/llvm-project/commit/fde2b0d6dba709ee6d699a4d67657604b8c0a026
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M clang/lib/AST/Interp/Pointer.h

  Log Message:
  -----------
  [clang][Interp][NFC] Add [[nodiscard]] to a few Pointer methods

These methods are all const and return a new Pointer instance instead of
modifying the given instance.




More information about the All-commits mailing list