mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-20 10:38:46 +00:00
Add a few missing 'template' keywords
llvm-svn: 152525
This commit is contained in:
parent
3ab8ff7a42
commit
bb5c9263b1
@ -1977,7 +1977,7 @@ iterator::overflow(unsigned Level) {
|
||||
CurSize[Nodes] = CurSize[NewNode];
|
||||
Node[Nodes] = Node[NewNode];
|
||||
CurSize[NewNode] = 0;
|
||||
Node[NewNode] = this->map->newNode<NodeT>();
|
||||
Node[NewNode] = this->map->template newNode<NodeT>();
|
||||
++Nodes;
|
||||
}
|
||||
|
||||
|
@ -266,7 +266,7 @@ namespace llvm {
|
||||
::llvm::PointerUnionTypeSelector<PT1, T, IsInnerUnion,
|
||||
::llvm::PointerUnionTypeSelector<PT2, T, IsInnerUnion, IsPT3 >
|
||||
>::Return Ty;
|
||||
return Ty(Val).is<T>();
|
||||
return Ty(Val).template is<T>();
|
||||
}
|
||||
|
||||
/// get<T>() - Return the value of the specified pointer type. If the
|
||||
@ -279,7 +279,7 @@ namespace llvm {
|
||||
::llvm::PointerUnionTypeSelector<PT1, T, IsInnerUnion,
|
||||
::llvm::PointerUnionTypeSelector<PT2, T, IsInnerUnion, IsPT3 >
|
||||
>::Return Ty;
|
||||
return Ty(Val).get<T>();
|
||||
return Ty(Val).template get<T>();
|
||||
}
|
||||
|
||||
/// dyn_cast<T>() - If the current value is of the specified pointer type,
|
||||
|
Loading…
Reference in New Issue
Block a user