]> granicus.if.org Git - clang/commit
[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)
commit97fb9e6d43c5f066380ed685330220552ce58558
tree617530d7971c318bcba5787a43683c6dfb87f878
parent2b4b03aeb63d886096040ba1d1909c4f42c4f556
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@287045 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp