clang-1/lib/Parse
Douglas Gregor bb3310a5fd Implement C++ DR481, which clarifies that the scope of template
parameters starts at the end of the template-parameter rather than at
the point where the template parameter name is encounted. For example,
given:

  typedef unsigned char T;
  template<typename T = T> struct X0 { };

The "T" in the default argument refers to the typedef of "unsigned
char", rather than referring to the newly-introduced template type
parameter 'T'. 

Addresses <rdar://problem/8122812>.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107354 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-01 00:00:45 +00:00
..
AttributeList.cpp Implements Sema part of init_priority(priority) attribute 2010-06-18 21:44:06 +00:00
CMakeLists.txt Update CMake build for new attribute changes. 2010-06-17 00:37:02 +00:00
DeclSpec.cpp Add parentheses suggested by gcc. 2010-06-23 19:34:52 +00:00
Makefile Makefiles: Set Clang CPP compiler flags in a single location, instead of scattered throughout the project Makefiles. 2010-06-08 20:44:43 +00:00
MinimalAction.cpp Improve parser recovery when we encounter a dependent template name 2010-05-21 23:18:07 +00:00
ParseCXXInlineMethods.cpp Cure for Doug's insomnia. 2010-06-19 19:58:34 +00:00
ParseDecl.cpp Make sure parens/braces/brackets are correctly balanced. 2010-06-17 10:52:18 +00:00
ParseDeclCXX.cpp Partial fix for PR7267 based on comments by John McCall on an earlier patch. 2010-06-28 08:39:25 +00:00
ParseExpr.cpp Minor tweaks on doug's objc recovery patch: the caller 2010-05-31 18:18:22 +00:00
ParseExprCXX.cpp Fix PR7180. 2010-06-22 11:30:04 +00:00
ParseInit.cpp Implement parsing for message sends in Objective-C++. Message sends in 2010-04-21 22:36:40 +00:00
ParseObjc.cpp Make the "extra ';' inside a struct or union" diagnostic more 2010-06-16 23:08:59 +00:00
ParsePragma.cpp Parse/Sema: Add support for '#pragma options align=packed', which, it should be 2010-05-27 18:42:17 +00:00
ParsePragma.h Parse: Add support for '#pragma options align'. 2010-05-26 23:29:06 +00:00
ParseStmt.cpp Make sure parens/braces/brackets are correctly balanced. 2010-06-17 10:52:18 +00:00
ParseTemplate.cpp Implement C++ DR481, which clarifies that the scope of template 2010-07-01 00:00:45 +00:00
ParseTentative.cpp Add support for Microsoft's __thiscall, from Steven Watanabe! 2010-05-18 16:57:00 +00:00
Parser.cpp Make sure parens/braces/brackets are correctly balanced. 2010-06-17 10:52:18 +00:00
RAIIObjectsForParser.h Make sure parens/braces/brackets are correctly balanced. 2010-06-17 10:52:18 +00:00