Go to file
Samuel Benzaquen a117002d93 Fix bug in DynTypedMatcher::constructVariadic() that would cause false negatives.
Summary:
DynTypedMatcher::constructVariadic() where the restrict kind of the
different matchers are not related causes the matcher to have a "None"
restrict kind. This causes false negatives for anyOf and eachOf.
Change the logic to get a common ancestor if there is one.
Also added regression tests that fail without the fix.

Reviewers: klimek

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D5580

llvm-svn: 219118
2014-10-06 13:14:30 +00:00
clang Fix bug in DynTypedMatcher::constructVariadic() that would cause false negatives. 2014-10-06 13:14:30 +00:00
clang-tools-extra [clang-tidy] Allow space between "TODO" and "(user)" 2014-10-05 23:40:30 +00:00
compiler-rt [asan] Minor tweak to asan_device_setup. 2014-10-06 12:45:39 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Implement fmod 2014-10-05 20:24:52 +00:00
libcxx Mark module atomic as cplusplus11. 2014-09-24 04:44:54 +00:00
libcxxabi Use __atomic_exchange_n instead of Clang's __sync_swap 2014-10-03 20:03:47 +00:00
lld PE/COFF: add a check to ensure that we dont mix up architectures 2014-10-05 23:43:59 +00:00
lldb Call SBDebugger::Initialize/Terminate from within Create/Destroy. 2014-10-06 05:22:29 +00:00
llvm Note that a gold bug has been fixed. 2014-10-06 12:33:27 +00:00
openmp Fix a crash that occurred under obscure circumstances during library shutdown 2014-09-03 11:34:33 +00:00
polly Try to unbreak the polly build. 2014-10-05 11:58:57 +00:00