[analyzer] NumberObjectConversion: Workaround for a linker error with modules.
authorArtem Dergachev <artem.dergachev@gmail.com>
Tue, 15 Nov 2016 22:22:57 +0000 (22:22 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Tue, 15 Nov 2016 22:22:57 +0000 (22:22 +0000)
commit93fd165bfb0f8bb930dc055bab23905e7598ce38
tree3eed8bccb85bb76a4162ae0fbb9d58e52a1d0562
parent003216b319d7f12f7245b183741500a478bfd641
[analyzer] NumberObjectConversion: Workaround for a linker error with modules.

A combination of C++ modules, variadic functions with more than one argument,
and const globals in headers (all three being necessary) causes some releases
of clang to misplace the matcher objects, which causes the linker to fail.

No functional change - the extra allOf() matcher is no-op here.

llvm-svn: 287045
clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp