forked from OSchip/llvm-project
Fix size calculation for pointer to member function
llvm-svn: 146463
This commit is contained in:
parent
799c7f914c
commit
7a084fdd39
|
@ -10019,7 +10019,9 @@ public:
|
||||||
virtual size_t first_size() const
|
virtual size_t first_size() const
|
||||||
{
|
{
|
||||||
if (__cached_size_ == -1)
|
if (__cached_size_ == -1)
|
||||||
const_cast<long&>(__cached_size_) = __left_->size() + 3 + __right_->size();
|
const_cast<long&>(__cached_size_) = __left_->size() + 3
|
||||||
|
+ __right_->first_size()
|
||||||
|
+ __right_->second_size();
|
||||||
return __cached_size_;
|
return __cached_size_;
|
||||||
}
|
}
|
||||||
virtual char* first_demangled_name(char* buf) const
|
virtual char* first_demangled_name(char* buf) const
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue