summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseExprCXX.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-09-09 00:23:06 +0000
committerDouglas Gregor <dgregor@apple.com>2009-09-09 00:23:06 +0000
commit308047d3a5dc226ab49758253e4a2e4a69c6e43d (patch)
treee4d8442c929c01e04e8399387a8827562bfb8fc3 /clang/lib/Parse/ParseExprCXX.cpp
parentc466e31309b569389d8ff267311bcae6401ba2e7 (diff)
downloadbcm5719-llvm-308047d3a5dc226ab49758253e4a2e4a69c6e43d.tar.gz
bcm5719-llvm-308047d3a5dc226ab49758253e4a2e4a69c6e43d.zip
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. llvm-svn: 81300
Diffstat (limited to 'clang/lib/Parse/ParseExprCXX.cpp')
-rw-r--r--clang/lib/Parse/ParseExprCXX.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Parse/ParseExprCXX.cpp b/clang/lib/Parse/ParseExprCXX.cpp
index 4cd952e393f..a248a5dbeef 100644
--- a/clang/lib/Parse/ParseExprCXX.cpp
+++ b/clang/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.
//
OpenPOWER on IntegriCloud