Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp846 if (TypeParam->getVariance() != ObjCTypeParamVariance::Invariant) in checkPreObjCMessage()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclPrinter.cpp1267 switch (Param->getVariance()) { in PrintObjCTypeParams()
H A DJSONNodeDumper.cpp1019 switch (D->getVariance()) { in VisitObjCTypeParamDecl()
H A DTextNodeDumper.cpp2277 switch (D->getVariance()) { in VisitObjCTypeParamDecl()
H A DASTImporter.cpp4563 Result, D, Importer.getToContext(), DC, D->getVariance(), in VisitObjCTypeParamDecl()
H A DASTContext.cpp9901 switch (typeParams->begin()[i]->getVariance()) { in sameObjCTypeArgs()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclObjC.h622 ObjCTypeParamVariance getVariance() const { in getVariance() function