]> granicus.if.org Git - clang/commit
Implement C++ [temp.param]p2 correctly, looking ahead when we see a
authorDouglas Gregor <dgregor@apple.com>
Sat, 21 Nov 2009 02:07:55 +0000 (02:07 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 21 Nov 2009 02:07:55 +0000 (02:07 +0000)
commit98440b4ac17dc5f85ea3db683c1c1785449c17e1
treea0aaf1a1e9cbcfc6f5c993f899ff64f12c7fcd0e
parent78d722fb2b55e53914bc80046db65d113138b2a7
Implement C++ [temp.param]p2 correctly, looking ahead when we see a
"typename" parameter to distinguish between non-type and type template
parameters. Fixes the actual bug in PR5559.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89532 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Parser.h
lib/Parse/ParseTemplate.cpp
test/CXX/temp/temp.param/p2.cpp