mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 21:16:19 +00:00
Added ImmutableMap constructor that accepts a const TreeTy*.
llvm-svn: 53429
This commit is contained in:
parent
3be8dca83f
commit
91171c5406
@ -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…
Reference in New Issue
Block a user