mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Added ImmutableMap constructor that accepts a const TreeTy*.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53429 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bbcec684e3
commit
07f3cf76c6
@ -76,7 +76,8 @@ public:
|
||||
/// should use a Factory object to create maps instead of directly
|
||||
/// invoking the constructor, but there are cases where make this
|
||||
/// constructor public is useful.
|
||||
explicit ImmutableMap(TreeTy* R) : Root(R) {}
|
||||
explicit ImmutableMap(TreeTy* R) : Root(R) {}
|
||||
explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) {}
|
||||
|
||||
class Factory {
|
||||
typename TreeTy::Factory F;
|
||||
|
Loading…
x
Reference in New Issue
Block a user