Remove outdated comment about clang not populating src2dst_offset

Clang has been setting this since r174293 (of 2013 vintage).

llvm-svn: 368580
This commit is contained in:
Benjamin Kramer 2019-08-12 14:33:46 +00:00
parent a45f301f7a
commit 3bd2b51340
1 changed files with 0 additions and 1 deletions

View File

@ -618,7 +618,6 @@ __dynamic_cast(const void *static_ptr, const __class_type_info *static_type,
const __class_type_info *dst_type,
std::ptrdiff_t src2dst_offset) {
// Possible future optimization: Take advantage of src2dst_offset
// Currently clang always sets src2dst_offset to -1 (no hint).
// Get (dynamic_ptr, dynamic_type) from static_ptr
void **vtable = *static_cast<void ** const *>(static_ptr);