[all-commits] [llvm/llvm-project] 184eb4: [ADT] Fix for ImmutableMapRef
Balogh, Ádám via All-commits
all-commits at lists.llvm.org
Thu Oct 29 05:18:17 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 184eb4fa4f1cc871692fa390261df8c25ddcc7ec
https://github.com/llvm/llvm-project/commit/184eb4fa4f1cc871692fa390261df8c25ddcc7ec
Author: Adam Balogh <adam.balogh at ericsson.com>
Date: 2020-10-29 (Thu, 29 Oct 2020)
Changed paths:
M llvm/include/llvm/ADT/ImmutableMap.h
M llvm/unittests/ADT/ImmutableMapTest.cpp
Log Message:
-----------
[ADT] Fix for ImmutableMapRef
The `Root` member of `ImmutableMapRef` was changed recently from a plain
pointer to `IntrusiveRefCntPtr`. However, the `Profile` member function
was not adjusted. This results in comilation error whenever the
`Profile` method is used on an `ImmutableMapRef`. This patch fixes this
issue and also adds unit tests for `ImmutableMapRef`.
Differential Revision: https://reviews.llvm.org/D89486
More information about the All-commits
mailing list