Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclObjC.cpp852 if (newTypeParam->getVariance() != prevTypeParam->getVariance()) { in checkTypeParamListConsistency()
853 if (newTypeParam->getVariance() == ObjCTypeParamVariance::Invariant && in checkTypeParamListConsistency()
857 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()
858 } else if (prevTypeParam->getVariance() in checkTypeParamListConsistency()
875 << static_cast<unsigned>(newTypeParam->getVariance()) in checkTypeParamListConsistency()
877 << static_cast<unsigned>(prevTypeParam->getVariance()) in checkTypeParamListConsistency()
879 switch (prevTypeParam->getVariance()) { in checkTypeParamListConsistency()
887 = prevTypeParam->getVariance() == ObjCTypeParamVariance::Covariant in checkTypeParamListConsistency()
890 if (newTypeParam->getVariance() in checkTypeParamListConsistency()
906 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp763 if (TypeParam->getVariance() != ObjCTypeParamVariance::Invariant) in checkPreObjCMessage()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclPrinter.cpp1185 switch (Param->getVariance()) { in PrintObjCTypeParams()
H A DASTDumper.cpp1255 switch (D->getVariance()) { in VisitObjCTypeParamDecl()
H A DASTContext.cpp8209 switch (typeParams->begin()[i]->getVariance()) { in sameObjCTypeArgs()
H A DASTImporter.cpp3907 Result, D, Importer.getToContext(), DC, D->getVariance(), in VisitObjCTypeParamDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclObjC.h602 ObjCTypeParamVariance getVariance() const { in getVariance() function