Add new check: -check-objc-methodsigs. This check scans methods in
ObjCImplementationDecls and sees if a ancestor class defines a method with the
same selector but with a different type signature. Right now it just compares
return types, and mainly looks at differences in primitive values. The checking
will be expanded in the future.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53482 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/AnalysisConsumer.h b/Driver/AnalysisConsumer.h
index 83f3cf6..3a1278a 100644
--- a/Driver/AnalysisConsumer.h
+++ b/Driver/AnalysisConsumer.h
@@ -23,7 +23,8 @@
WarnUninitVals,
DisplayLiveVariables,
CheckerCFRef,
- CheckerSimple
+ CheckerSimple,
+ CheckObjCMethSigs
};
ASTConsumer* CreateAnalysisConsumer(Analyses* Beg, Analyses* End,