Home
last modified time | relevance | path

Searched refs:getVariance (Results 1 – 8 of 8) sorted by relevance

/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp856 if (newTypeParam->getVariance() != prevTypeParam->getVariance()) { in checkTypeParamListConsistency()
857 if (newTypeParam->getVariance() == ObjCTypeParamVariance::Invariant && in checkTypeParamListConsistency()
861 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()
862 } else if (prevTypeParam->getVariance() in checkTypeParamListConsistency()
879 << static_cast<unsigned>(newTypeParam->getVariance()) in checkTypeParamListConsistency()
881 << static_cast<unsigned>(prevTypeParam->getVariance()) in checkTypeParamListConsistency()
883 switch (prevTypeParam->getVariance()) { in checkTypeParamListConsistency()
891 = prevTypeParam->getVariance() == ObjCTypeParamVariance::Covariant in checkTypeParamListConsistency()
894 if (newTypeParam->getVariance() in checkTypeParamListConsistency()
910 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp848 if (TypeParam->getVariance() != ObjCTypeParamVariance::Invariant) in checkPreObjCMessage()
/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclPrinter.cpp1250 switch (Param->getVariance()) { in PrintObjCTypeParams()
H A DJSONNodeDumper.cpp941 switch (D->getVariance()) { in VisitObjCTypeParamDecl()
H A DTextNodeDumper.cpp2163 switch (D->getVariance()) { in VisitObjCTypeParamDecl()
H A DASTContext.cpp9128 switch (typeParams->begin()[i]->getVariance()) { in sameObjCTypeArgs()
H A DASTImporter.cpp4329 Result, D, Importer.getToContext(), DC, D->getVariance(), in VisitObjCTypeParamDecl()
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h622 ObjCTypeParamVariance getVariance() const { in getVariance() function