[PATCH] Fix bug in DynTypedMatcher::constructVariadic() that would cause false negatives.
Samuel Benzaquen
sbenza at google.com
Fri Oct 10 11:38:27 PDT 2014
Hi klimek,
Change r219118 fixed the bug for anyOf and eachOf, but it is still
present for unless.
The variadic wrapper doesn't have enough information to know how to
restrict the type. Different operators handle restrict failures in
different ways.
http://reviews.llvm.org/D5731
Files:
lib/ASTMatchers/ASTMatchersInternal.cpp
unittests/ASTMatchers/ASTMatchersTest.cpp
unittests/ASTMatchers/Dynamic/RegistryTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5731.14742.patch
Type: text/x-patch
Size: 3124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141010/1ef97df0/attachment.bin>
More information about the cfe-commits
mailing list