Move class into an anonymous namespace. NFC.

llvm-svn: 242064
This commit is contained in:
Benjamin Kramer 2015-07-13 20:42:13 +00:00
parent 9a1a919465
commit 8b851d0786
1 changed files with 2 additions and 0 deletions

View File

@ -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,