Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaDeclObjC.cpp758 if (newTypeParam->getVariance() != prevTypeParam->getVariance()) { in checkTypeParamListConsistency()
759 if (newTypeParam->getVariance() == ObjCTypeParamVariance::Invariant && in checkTypeParamListConsistency()
763 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()
764 } else if (prevTypeParam->getVariance() in checkTypeParamListConsistency()
781 << static_cast<unsigned>(newTypeParam->getVariance()) in checkTypeParamListConsistency()
783 << static_cast<unsigned>(prevTypeParam->getVariance()) in checkTypeParamListConsistency()
785 switch (prevTypeParam->getVariance()) { in checkTypeParamListConsistency()
793 = prevTypeParam->getVariance() == ObjCTypeParamVariance::Covariant in checkTypeParamListConsistency()
796 if (newTypeParam->getVariance() in checkTypeParamListConsistency()
812 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDeclPrinter.cpp977 switch (Param->getVariance()) { in PrintObjCTypeParams()
HDASTDumper.cpp1478 switch (D->getVariance()) { in VisitObjCTypeParamDecl()
HDASTImporter.cpp3455 D->getVariance(), in VisitObjCTypeParamDecl()
HDASTContext.cpp6984 switch (typeParams->begin()[i]->getVariance()) { in sameObjCTypeArgs()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDeclObjC.h577 ObjCTypeParamVariance getVariance() const { in getVariance() function