[cfe-commits] r155107 - /cfe/trunk/lib/Sema/SemaAccess.cpp
Francois Pichet
pichet2000 at gmail.com
Thu Apr 19 00:48:58 PDT 2012
Author: fpichet
Date: Thu Apr 19 02:48:57 2012
New Revision: 155107
URL: http://llvm.org/viewvc/llvm-project?rev=155107&view=rev
Log:
Fix a comment.
Modified:
cfe/trunk/lib/Sema/SemaAccess.cpp
Modified: cfe/trunk/lib/Sema/SemaAccess.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaAccess.cpp?rev=155107&r1=155106&r2=155107&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaAccess.cpp (original)
+++ cfe/trunk/lib/Sema/SemaAccess.cpp Thu Apr 19 02:48:57 2012
@@ -781,7 +781,7 @@
// 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;
More information about the cfe-commits
mailing list