forked from OSchip/llvm-project
Fix ObjCInterfaceTypeLoc to inherit from ObjCObjectTypeLoc so as to match the
Type hierarchy. Without this, TypeLocNodes.def will give you wrong type hierarchy information (claiming that ObjCObjectTypeLoc is the base of ObjCInterfaceTypeLoc, which it wasn't). llvm-svn: 107578
This commit is contained in:
parent
674bd55f02
commit
b0077deefa
|
@ -657,7 +657,7 @@ struct ObjCInterfaceLocInfo {
|
|||
};
|
||||
|
||||
/// \brief Wrapper for source info for ObjC interfaces.
|
||||
class ObjCInterfaceTypeLoc : public ConcreteTypeLoc<UnqualTypeLoc,
|
||||
class ObjCInterfaceTypeLoc : public ConcreteTypeLoc<ObjCObjectTypeLoc,
|
||||
ObjCInterfaceTypeLoc,
|
||||
ObjCInterfaceType,
|
||||
ObjCInterfaceLocInfo> {
|
||||
|
|
Loading…
Reference in New Issue