]> granicus.if.org Git - clang/commitdiff
Still not used to put the * next to the variable name.
authorFrancois Pichet <pichet2000@gmail.com>
Wed, 13 Apr 2011 02:44:57 +0000 (02:44 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Wed, 13 Apr 2011 02:44:57 +0000 (02:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129426 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDecl.cpp

index 4338ddaa1aaeb864ba40f803c2d4f2b21c833f8c..29174245816b9290900736a9c79ef0df168857c9 100644 (file)
@@ -266,7 +266,7 @@ DeclSpec::TST Sema::isTagName(IdentifierInfo &II, Scope *S) {
 /// @endcode
 bool Sema::isMicrosoftMissingTypename(const CXXScopeSpec *SS) {
   if (CurContext->isRecord()) {
-    const TypeTy = SS->getScopeRep()->getAsType();
+    const Type *Ty = SS->getScopeRep()->getAsType();
 
     CXXRecordDecl *RD = cast<CXXRecordDecl>(CurContext);
     for (CXXRecordDecl::base_class_const_iterator Base = RD->bases_begin(),