Move class into an anonymous namespace. NFC.
llvm-svn: 242064
This commit is contained in:
parent
9a1a919465
commit
8b851d0786
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue