forked from OSchip/llvm-project
add a fixme, inheriting from PointerIntPair is gross :)
llvm-svn: 87048
This commit is contained in:
parent
2f4c37425b
commit
956d71a63a
|
@ -23,6 +23,8 @@ template<typename decl_type>
|
|||
class Redeclarable {
|
||||
|
||||
protected:
|
||||
// FIXME: PointerIntPair is a value class that should not be inherited from.
|
||||
// This should change to using containment.
|
||||
struct DeclLink : public llvm::PointerIntPair<decl_type *, 1, bool> {
|
||||
DeclLink(decl_type *D, bool isLatest)
|
||||
: llvm::PointerIntPair<decl_type *, 1, bool>(D, isLatest) { }
|
||||
|
|
Loading…
Reference in New Issue