diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-07-13 20:42:13 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-07-13 20:42:13 +0000 |
commit | b7dc5bbe620eed01b6f4cd5a136ceac6a79f5837 (patch) | |
tree | fc806c29e3e26b818b3193bc3e0b7a27f06f2cb8 /lib | |
parent | 05f39953d6f0e2c1df102cbbaea3b4e02202e181 (diff) | |
download | clang-b7dc5bbe620eed01b6f4cd5a136ceac6a79f5837.tar.gz |
Move class into an anonymous namespace. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 18e07776ae..f42c4b7546 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -1232,6 +1232,7 @@ Sema::FindProtocolDeclaration(bool WarnOnDeclarations, bool ForObjCContainer, } } +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 : public CorrectionCandidateCallback { return false; } }; +} // end anonymous namespace void Sema::actOnObjCTypeArgsOrProtocolQualifiers( Scope *S, |