This is an archive of the discontinued LLVM Phabricator instance.

Rename list::base to list::__base.
Needs ReviewPublic

Authored by dlj on Sep 19 2017, 4:15 PM.

Details

Reviewers
rsmith
Summary

Even though the base typedef is private, it still participates in lookup. For example:

void base() {}
struct X : private std::list<int> {
  X() { base(); }
};

Event Timeline

dlj created this revision.Sep 19 2017, 4:15 PM