summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandObject.cpp
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2011-09-22 22:14:56 +0000
committerFrancois Pichet <pichet2000@gmail.com>2011-09-22 22:14:56 +0000
commit81345183314316f56d62f927f0394d6b431a64f2 (patch)
tree96f558f83d75002523b6e0dd4ed5c84c37115054 /lldb/source/Interpreter/CommandObject.cpp
parentdcae044a10dc3ec6237a2dd659ee67209abf5ae5 (diff)
downloadbcm5719-llvm-81345183314316f56d62f927f0394d6b431a64f2.tar.gz
bcm5719-llvm-81345183314316f56d62f927f0394d6b431a64f2.zip
[microsoft] Fix a bug in -fdelayed-template-parsing mode where we were not reentering the delayed function context correctly. The problem was that all template params were reintroduced inside the same scope. So if we had a situation where we had 2 template params with the same name at different scope then clang would generate an error about ambiguous name.
The solution is to create a new ParseScope(Scope::TemplateParamScope) for each template scope that we want to reenter. (from the outmost to the innermost scope) This fixes some errors when parsing MFC code with clang. llvm-svn: 140344
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud