forked from OSchip/llvm-project
[NFC] Simplify 'friend' declaration in ParsedAttr
As suggested in the post-commit review for D50531, change from the templatized TrailingObjects friend declaration to a version referring to the base. llvm-svn: 339382
This commit is contained in:
parent
10de234905
commit
99428d7689
|
@ -118,9 +118,7 @@ class ParsedAttr final
|
|||
: private llvm::TrailingObjects<
|
||||
ParsedAttr, ArgsUnion, detail::AvailabilityData,
|
||||
detail::TypeTagForDatatypeData, ParsedType, detail::PropertyData> {
|
||||
friend class llvm::TrailingObjects<
|
||||
ParsedAttr, ArgsUnion, detail::AvailabilityData,
|
||||
detail::TypeTagForDatatypeData, ParsedType, detail::PropertyData>;
|
||||
friend class TrailingObjects;
|
||||
|
||||
size_t numTrailingObjects(OverloadToken<ArgsUnion>) const { return NumArgs; }
|
||||
size_t numTrailingObjects(OverloadToken<detail::AvailabilityData>) const {
|
||||
|
|
Loading…
Reference in New Issue