]> granicus.if.org Git - clang/commitdiff
Fix a comment.
authorFrancois Pichet <pichet2000@gmail.com>
Thu, 19 Apr 2012 07:48:57 +0000 (07:48 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Thu, 19 Apr 2012 07:48:57 +0000 (07:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155107 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaAccess.cpp

index 01c141e57f923a88253a002709bb7ba70e406ffc..6226941951321062ecd4b98cc3ab08d809cf4817 100644 (file)
@@ -781,7 +781,7 @@ static AccessResult HasAccess(Sema &S,
 
         // Emulate a MSVC bug where the creation of pointer-to-member
         // to protected member of base class is allowed but only from
-        // a static function member functions.
+        // static member functions.
         if (S.getLangOpts().MicrosoftMode && !EC.Functions.empty())
           if (CXXMethodDecl* MD = dyn_cast<CXXMethodDecl>(EC.Functions.front()))
             if (MD->isStatic()) return AR_accessible;