aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewText.cpp
diff options
context:
space:
mode:
authorVassil Vassilev <v.g.vassilev@gmail.com>2016-09-08 20:34:41 +0000
committerVassil Vassilev <v.g.vassilev@gmail.com>2016-09-08 20:34:41 +0000
commit714b81c40adff7cb46df6adacb2a41dd282ca93b (patch)
tree65801a8c74c7af4913bbe322ee9d49539cf39fb8 /llvm/tools/llvm-cov/SourceCoverageViewText.cpp
parent2b68ada188d0e850875a0ebf6939276fd21a71b4 (diff)
downloadllvm-714b81c40adff7cb46df6adacb2a41dd282ca93b.zip
llvm-714b81c40adff7cb46df6adacb2a41dd282ca93b.tar.gz
llvm-714b81c40adff7cb46df6adacb2a41dd282ca93b.tar.bz2
[modules] Apply ODR merging for function scoped tags only in C++ mode.
In C mode, if we have a visible declaration but not a visible definition, a tag defined in the declaration should be have a visible definition. In C++ we rely on the ODR merging, whereas in C we cannot because each declaration of a function gets its own set of declarations in its prototype scope. Patch developed in collaboration with Richard Smith! llvm-svn: 280984
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions