r242140 - [Analyzer] Move FindSuperCallVisitor into an anonymous namespace.

Benjamin Kramer benny.kra at googlemail.com
Tue Jul 14 05:37:59 PDT 2015


Author: d0k
Date: Tue Jul 14 07:37:59 2015
New Revision: 242140

URL: http://llvm.org/viewvc/llvm-project?rev=242140&view=rev
Log:
[Analyzer] Move FindSuperCallVisitor into an anonymous namespace.

No functionality change.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp?rev=242140&r1=242139&r2=242140&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp Tue Jul 14 07:37:59 2015
@@ -34,7 +34,6 @@ struct SelectorDescriptor {
   const char *SelectorName;
   unsigned ArgumentCount;
 };
-}
 
 //===----------------------------------------------------------------------===//
 // FindSuperCallVisitor - Identify specific calls to the superclass.
@@ -63,7 +62,6 @@ private:
 // ObjCSuperCallChecker 
 //===----------------------------------------------------------------------===//
 
-namespace {
 class ObjCSuperCallChecker : public Checker<
                                       check::ASTDecl<ObjCImplementationDecl> > {
 public:





More information about the cfe-commits mailing list