summaryrefslogtreecommitdiff
path: root/test/Modules/merge-friends.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-07-14 20:08:49 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-07-14 20:08:49 +0000
commit810e25ed9e0ab4c7bd2ba27db51e54527547a166 (patch)
tree55c7a8edf02da3d862d3bd4cad405a9571aa6b74 /test/Modules/merge-friends.cpp
parentea17ce928b174921a59ad7e03398354ecfdb9c7b (diff)
downloadclang-810e25ed9e0ab4c7bd2ba27db51e54527547a166.tar.gz
[Sema] Emit a better diagnostic when variable redeclarations disagree
We referred to all declaration in definitions in our diagnostic messages which is can be inaccurate. Instead, classify the declaration and emit an appropriate diagnostic for the new declaration and an appropriate note pointing to the old one. This fixes PR24116. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/merge-friends.cpp')
0 files changed, 0 insertions, 0 deletions