diff options
author | Justin Bogner <mail@justinbogner.com> | 2023-12-06 15:10:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 15:10:45 -0800 |
commit | 0cd308aebcde8af4d8b11084a82c8e64b6a828c6 (patch) | |
tree | b61d3eab07a87e687b253497b65a8669bec4a9fa /lld | |
parent | 62b11e1b1640edfdc9e3f3f2d62c666622c1daee (diff) | |
download | llvm-0cd308aebcde8af4d8b11084a82c8e64b6a828c6.zip llvm-0cd308aebcde8af4d8b11084a82c8e64b6a828c6.tar.gz llvm-0cd308aebcde8af4d8b11084a82c8e64b6a828c6.tar.bz2 |
[Clang][Sema] Don't say "is declared here" for invalid template locations
If a template is defined via an external AST source, it won't have a
location. When we emit warnings about misusing such templates we
shouldn't emit a "template is declared here" warning with no location,
as that's just confusing.
Reviewers: llvm-beanz, erichkeane, AaronBallman
Reviewed By: erichkeane, AaronBallman
Pull Request: https://github.com/llvm/llvm-project/pull/71264
Diffstat (limited to 'lld')
0 files changed, 0 insertions, 0 deletions