aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.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
commit38a50c0a1620bfee536d292207100678ce7ab471 (patch)
treea89fd4ec22a767891e535863da4c4d9d59663dcc /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parentf69606b117c9f141469b164f306906485dad78f1 (diff)
downloadllvm-38a50c0a1620bfee536d292207100678ce7ab471.zip
llvm-38a50c0a1620bfee536d292207100678ce7ab471.tar.gz
llvm-38a50c0a1620bfee536d292207100678ce7ab471.tar.bz2
[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. llvm-svn: 242190
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions