mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +00:00
Fix a typo. Thanks baldrick!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65767 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ebc6765970
commit
1a31d09a16
@ -36,7 +36,7 @@ template<> struct ilist_traits<Instruction>
|
||||
// ilist_node<NodeTy>, there is a legal viable downcast from it
|
||||
// to NodeTy. We use this trick to superpose i(p)list with a "ghostly"
|
||||
// NodeTy, which becomes the sentinel. Dereferencing the sentinel is
|
||||
// forbidden (save the ilist_node<NodeTy>) so noone will ever notice
|
||||
// forbidden (save the ilist_node<NodeTy>) so no one will ever notice
|
||||
// the superposition.
|
||||
return const_cast<Instruction*>(static_cast<const Instruction*>(&Sentinel));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user