marcel added inline comments.
================
Comment at: src/cxa_demangle.cpp:3078-3079
++t1;
- db.names.back().first.insert(db.names.back().first.begin()+7,
t0, t1);
+ if (db.names.back().first.length() > 7)
+ db.names.back().first.insert(db.names.back().first.begin() +
7, t0, t1);
t0 = t1;
----------------
dexonsmith wrote:
> Should this be `>= 7`?
You are right. Thanks for spotting this. Updating the patch.
https://reviews.llvm.org/D33393
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits