[cfe-commits] [PATCH] Change counter-intuitive behavior of isDerivedFrom

Sebastian Redl reviews at llvm-reviews.chandlerc.com
Fri Sep 7 11:11:23 PDT 2012


  While I agree that this is more intuitive, we have precedent: std::is_base_of<X, X> is true, even though a class is no more a base of itself than derived from itself.

http://llvm-reviews.chandlerc.com/D37



More information about the cfe-commits mailing list