diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-09-09 00:23:06 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-09-09 00:23:06 +0000 |
commit | 3b6afbb99a1c44b4076f8e15fb7311405941b306 (patch) | |
tree | c1cd15e2e3745e95de9bb6714d84ef1f4000e39d /lib/Parse/ParseExprCXX.cpp | |
parent | 7f4f86a2167abc116275e49c81350fc3225485e5 (diff) |
Initial stab at implement dependent member references to member
templates, e.g.,
x.template get<T>
We can now parse these, represent them within an UnresolvedMemberExpr
expression, then instantiate that expression node in simple cases.
This allows us to stumble through parsing LLVM's Casting.h.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81300 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseExprCXX.cpp')
-rw-r--r-- | lib/Parse/ParseExprCXX.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Parse/ParseExprCXX.cpp b/lib/Parse/ParseExprCXX.cpp index 4cd952e393..a248a5dbee 100644 --- a/lib/Parse/ParseExprCXX.cpp +++ b/lib/Parse/ParseExprCXX.cpp @@ -76,7 +76,9 @@ bool Parser::ParseOptionalCXXScopeSpecifier(CXXScopeSpec &SS, if (HasScopeSpecifier) { // C++ [basic.lookup.classref]p5: // If the qualified-id has the form + // // ::class-name-or-namespace-name::... + // // the class-name-or-namespace-name is looked up in global scope as a // class-name or namespace-name. // |