r242064 - Move class into an anonymous namespace. NFC.

Douglas Gregor dgregor at apple.com
Mon Jul 13 16:02:48 PDT 2015


Thank you!

> On Jul 13, 2015, at 1:42 PM, Benjamin Kramer <benny.kra at googlemail.com> wrote:
> 
> Author: d0k
> Date: Mon Jul 13 15:42:13 2015
> New Revision: 242064
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=242064&view=rev
> Log:
> Move class into an anonymous namespace. NFC.
> 
> Modified:
>    cfe/trunk/lib/Sema/SemaDeclObjC.cpp
> 
> Modified: cfe/trunk/lib/Sema/SemaDeclObjC.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclObjC.cpp?rev=242064&r1=242063&r2=242064&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Sema/SemaDeclObjC.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaDeclObjC.cpp Mon Jul 13 15:42:13 2015
> @@ -1232,6 +1232,7 @@ Sema::FindProtocolDeclaration(bool WarnO
>   }
> }
> 
> +namespace {
> // Callback to only accept typo corrections that are either
> // Objective-C protocols or valid Objective-C type arguments.
> class ObjCTypeArgOrProtocolValidatorCCC : public CorrectionCandidateCallback {
> @@ -1282,6 +1283,7 @@ class ObjCTypeArgOrProtocolValidatorCCC
>     return false;
>   }
> };
> +} // end anonymous namespace
> 
> void Sema::actOnObjCTypeArgsOrProtocolQualifiers(
>        Scope *S,
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits





More information about the cfe-commits mailing list