summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseExprCXX.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-23 07:28:44 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-23 07:28:44 +0000
commit3e56fd4d221d9f282c5ed2df0081257034a8dc65 (patch)
tree34cfdb17438c9ac26dec5acae407b4b8908f8213 /clang/lib/Parse/ParseExprCXX.cpp
parent421ad5e1e67bbc1ea57a2aae93ed3205d3e96617 (diff)
downloadbcm5719-llvm-3e56fd4d221d9f282c5ed2df0081257034a8dc65.tar.gz
bcm5719-llvm-3e56fd4d221d9f282c5ed2df0081257034a8dc65.zip
Push DeclGroupRefs and TemplateNames in an opaque but type-safe way
through the parser. llvm-svn: 111800
Diffstat (limited to 'clang/lib/Parse/ParseExprCXX.cpp')
-rw-r--r--clang/lib/Parse/ParseExprCXX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseExprCXX.cpp b/clang/lib/Parse/ParseExprCXX.cpp
index 606eb4c1b42..ea835470df9 100644
--- a/clang/lib/Parse/ParseExprCXX.cpp
+++ b/clang/lib/Parse/ParseExprCXX.cpp
@@ -1128,7 +1128,7 @@ bool Parser::ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS,
TemplateId->TemplateNameLoc = Id.StartLocation;
}
- TemplateId->Template = Template.getAs<void*>();
+ TemplateId->Template = Template;
TemplateId->Kind = TNK;
TemplateId->LAngleLoc = LAngleLoc;
TemplateId->RAngleLoc = RAngleLoc;
OpenPOWER on IntegriCloud