summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
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
commitfdde47061d8ff0b481414ccf69ebdc47c2216274 (patch)
tree1113c22f8f85b82199e847d444ff7d1a6007445d /CMakeLists.txt
parenta3e86edd0793be4604cf503f25013415bbdd3abc (diff)
[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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions