Thank you!

> On Jul 13, 2015, at 1:42 PM, Benjamin Kramer <[email protected]> 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
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to