diff options
author | Richard Trieu <rtrieu@google.com> | 2013-04-08 21:11:40 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2013-04-08 21:11:40 +0000 |
commit | e373235c7cf8e32dd9fff2dfb9d0e8bd6ee26835 (patch) | |
tree | dea6a1cbbe8c020d11f0c204b79baa7334fe491f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ca2a334e77a2b0417d77b5b7cd4e2100e7d90079 (diff) | |
download | bcm5719-llvm-e373235c7cf8e32dd9fff2dfb9d0e8bd6ee26835.tar.gz bcm5719-llvm-e373235c7cf8e32dd9fff2dfb9d0e8bd6ee26835.zip |
Fix PR15634, better error message for template deduction failure.
When two template decls with the same name are used in this diagnostic,
force them to print their qualified names. This changes the bad message of:
candidate template ignored: could not match 'array' against 'array'
to the better message of:
candidate template ignored: could not match 'NS2::array' against 'NS1::array'
llvm-svn: 179056
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions