From: Nick Lewycky Date: Sun, 4 Jul 2010 01:41:30 +0000 (+0000) Subject: Fix ObjCInterfaceTypeLoc to inherit from ObjCObjectTypeLoc so as to match the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8bef693d8761e31845a26e136f8d3a0983d2f46;p=clang 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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107578 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/TypeLoc.h b/include/clang/AST/TypeLoc.h index ef2b0542e7..842c068784 100644 --- a/include/clang/AST/TypeLoc.h +++ b/include/clang/AST/TypeLoc.h @@ -657,7 +657,7 @@ struct ObjCInterfaceLocInfo { }; /// \brief Wrapper for source info for ObjC interfaces. -class ObjCInterfaceTypeLoc : public ConcreteTypeLoc {