[PATCH] [clang-tidy] Checker for inaccurate use of erase method.
Gábor Horváth
xazax.hun at gmail.com
Wed Feb 25 04:21:37 PST 2015
Thank you for finding this issue. The original checker before port used hasName and anyOf. It looks like I should be more cautious when replacing such constructs with regexps. It should be fixed in r230483.
The issue was: the iterator has a template parameter that is substituted for the type that is stored inside the container. The postfix ++ operator has one parameter.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D7496
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list