diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-01-09 01:19:56 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-01-09 01:19:56 +0000 |
| commit | 70b13043a2efb561854ebf5145b0d8a91290f901 (patch) | |
| tree | 94d5d7f495f1f85b113e2f9e49e302550110ed98 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | b5d1a73988b80ca57b5702a10baff1b20d9d4cbc (diff) | |
PR22117: Fix a case where we would get confused about which function parameter
we're instantiating, if there's a ParmVarDecl within a FunctionDecl context
that is not a parameter of that function. Add some asserts to catch this kind
of issue more generally, and fix another bug exposed by those asserts where we
were missing a local instantiation scope around substitution of
explicitly-specified template arguments.
llvm-svn: 225490
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
