r242064 - Move class into an anonymous namespace. NFC.
Benjamin Kramer
benny.kra at googlemail.com
Mon Jul 13 13:42:13 PDT 2015
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,
More information about the cfe-commits
mailing list