diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-05-10 21:32:16 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-05-10 21:32:16 +0000 |
commit | 52f8d19ceda6a166497e71c5faaa6a4c07f0bbef (patch) | |
tree | dcd9e6f5c963c8caf7c5823353c1ac8722c587f0 /llvm/lib/Support/Parallel.cpp | |
parent | 80f8cfb37fbe8081f4cae591ca8189126f0fcba9 (diff) | |
download | llvm-52f8d19ceda6a166497e71c5faaa6a4c07f0bbef.zip llvm-52f8d19ceda6a166497e71c5faaa6a4c07f0bbef.tar.gz llvm-52f8d19ceda6a166497e71c5faaa6a4c07f0bbef.tar.bz2 |
Improve diagnosis of unknown template name.
When an undeclared identifier in a context that requires a type is followed by
'<', only look for type templates when typo-correcting, tweak the diagnostic
text to say that a template name (not a type name) was undeclared, and parse
the template arguments when recovering from the error.
llvm-svn: 302732
Diffstat (limited to 'llvm/lib/Support/Parallel.cpp')
0 files changed, 0 insertions, 0 deletions