Go to file
Igor Kudrin 8545dae226 [Coverage] Prevent creating a redundant counter if a nested body ends with a macro.
If there were several nested statements arranged in a way that all of them
end up with the same macro, then the expansion of this macro was assigned
with all the corresponding counters of these statements.
As a result, the wrong counter value was shown for the macro in llvm-cov.

This patch fixes the issue by preventing adding a counter for an expanded
source range if it already has an assigned counter, which is expected
to come from the most specific statement.

Differential Revision: https://reviews.llvm.org/D23160

llvm-svn: 279962
2016-08-29 11:48:50 +00:00
clang [Coverage] Prevent creating a redundant counter if a nested body ends with a macro. 2016-08-29 11:48:50 +00:00
clang-tools-extra Fix some typos in the doc 2016-08-28 20:33:42 +00:00
compiler-rt Revert "Start reifying error descriptions. Second try: Try to appease Visual Studio." 2016-08-28 10:42:21 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc amdgcn: Fix return type of get_num_groups 2016-08-25 07:31:40 +00:00
libcxx Fix pair::operator=(TupleLike&&). 2016-08-29 01:43:41 +00:00
libcxxabi [CMake] Be more consistent about naming targets and components in libc++abi 2016-08-28 18:28:51 +00:00
libunwind EHABI: fail on WMMX vops without WMMX support 2016-08-28 20:10:33 +00:00
lld Implement support for --build-id=uuid switch 2016-08-26 09:55:37 +00:00
lldb Fix some build bot breakages. 2016-08-27 16:38:11 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm Fixed a bug in type legalizer for masked gather. 2016-08-29 09:12:31 +00:00
openmp cleanup: fixed names of dummy arguments of Fortran interfaces declarations, no functional changes done 2016-08-17 18:18:21 +00:00
parallel-libs [StreamExecutor] Fix KernelSpec Doxygen 2016-08-26 19:55:32 +00:00
polly Add space between access string and follow-up. 2016-08-26 15:43:52 +00:00