Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp1363 switch (Param->getVariance()) { in PrintObjCTypeParams()
H A DJSONNodeDumper.cpp1116 switch (D->getVariance()) { in VisitObjCTypeParamDecl()
H A DTextNodeDumper.cpp2738 switch (D->getVariance()) { in VisitObjCTypeParamDecl()
H A DASTImporter.cpp4875 Result, D, Importer.getToContext(), DC, D->getVariance(), in VisitObjCTypeParamDecl()
H A DASTContext.cpp10461 switch (typeParams->begin()[i]->getVariance()) { in sameObjCTypeArgs()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h623 ObjCTypeParamVariance getVariance() const { in getVariance() function