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:
Nick Lewycky 2010-07-04 01:41:30 +00:00
parent 674bd55f02
commit b0077deefa
1 changed files with 1 additions and 1 deletions

View File

@ -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> {