diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2019-08-12 14:33:46 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2019-08-12 14:33:46 +0000 |
| commit | 3bd2b513403aa93defcb6287b73b885d6fcc7ca1 (patch) | |
| tree | 76376842ef35192066bcdd6a81b8874398ea57f5 /libcxxabi/src | |
| parent | a45f301f7a5d0f62910d0ed93c96d221555697c9 (diff) | |
| download | bcm5719-llvm-3bd2b513403aa93defcb6287b73b885d6fcc7ca1.tar.gz bcm5719-llvm-3bd2b513403aa93defcb6287b73b885d6fcc7ca1.zip | |
Remove outdated comment about clang not populating src2dst_offset
Clang has been setting this since r174293 (of 2013 vintage).
llvm-svn: 368580
Diffstat (limited to 'libcxxabi/src')
| -rw-r--r-- | libcxxabi/src/private_typeinfo.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxxabi/src/private_typeinfo.cpp b/libcxxabi/src/private_typeinfo.cpp index c0a23947624..43c91d123c9 100644 --- a/libcxxabi/src/private_typeinfo.cpp +++ b/libcxxabi/src/private_typeinfo.cpp @@ -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); |

