summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-08-31 21:16:32 +0000
committerDouglas Gregor <dgregor@apple.com>2009-08-31 21:16:32 +0000
commitfbc1823451449005dd486e978460feb5de87b333 (patch)
tree45aa2cc5bff61cda3a7d95d1e9225b1d6d33c929 /clang/lib/Sema/SemaExpr.cpp
parentcc2f1eb7fe9bc10a835002196ee268bdd5226b5e (diff)
downloadbcm5719-llvm-fbc1823451449005dd486e978460feb5de87b333.tar.gz
bcm5719-llvm-fbc1823451449005dd486e978460feb5de87b333.zip
Add parsing for references to member function templates with explicit
template argument lists, e.g., x.f<int>(). Semantic analysis will be a separate commit. llvm-svn: 80624
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index f304ac30945..026ff43d2d2 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -2005,7 +2005,7 @@ Sema::BuildMemberReferenceExpr(Scope *S, ExprArg Base, SourceLocation OpLoc,
ImpCastExprToType(BaseExpr, BaseType);
}
} else if (BaseType->isObjCClassType() &&
- BaseType != Context.ObjCClassRedefinitionType) {
+ BaseType != Context.ObjCClassRedefinitionType) {
BaseType = Context.ObjCClassRedefinitionType;
ImpCastExprToType(BaseExpr, BaseType);
}
OpenPOWER on IntegriCloud