[all-commits] [llvm/llvm-project] d78a7c: [ODRHash] Handle `Integral` and `NullPtr` template...

isuckatcs via All-commits all-commits at lists.llvm.org
Thu Jan 12 01:25:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d78a7c5012c7ae6ec9991fb22fcd6d06a42dc1cc
      https://github.com/llvm/llvm-project/commit/d78a7c5012c7ae6ec9991fb22fcd6d06a42dc1cc
  Author: isuckatcs <65320245+isuckatcs at users.noreply.github.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M clang/lib/AST/ODRHash.cpp
    M clang/test/Modules/odr_hash.cpp

  Log Message:
  -----------
  [ODRHash] Handle `Integral` and `NullPtr` template parameters in `ODRHash`

Before this patch the parameters mentioned in the title weren't
handled by ODRHash, when a hash was generated for a template
specialization. This patch adds these parameters to the hash,
so that different template specializations will get different
hashes in every case.

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




More information about the All-commits mailing list