[PATCH] D20190: Get rid of CVLeafTypes.h

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 10:06:38 PDT 2016


rnk added a comment.

In http://reviews.llvm.org/D20190#428458, @zturner wrote:

> For whatever reason, records in MethodList don't contain a name, but in
>  OneMethod they do


MethodList is probably better named OverloadedMethodList or something like that. All the methods in the list have the same name. In a FieldList (which is really more of a MemberList) you can have two kinds of methods: OneMethod and OverloadedMethod. For whatever reason, OverloadedMethod points at a MethodList instead of listing all the overloads directly inline as trailing data. The OverloadedMethodRecord has the name for all the methods.


http://reviews.llvm.org/D20190





More information about the llvm-commits mailing list