Home
last modified time | relevance | path

Searched refs:getNameForSlot (Results 1 – 20 of 20) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDirectIvarAssignment.cpp47 M->getSelector().getNameForSlot(0).find("init") != StringRef::npos || in DefaultMethodFilter()
48 M->getSelector().getNameForSlot(0).find("Init") != StringRef::npos; in DefaultMethodFilter()
H A DMallocChecker.cpp1443 StringRef FirstSlot = Call.getSelector().getNameForSlot(0); in isKnownDeallocObjCMethodName()
1454 if (S.getNameForSlot(i).equals("freeWhenDone")) in getFreeWhenDoneArg()
2945 StringRef FirstSlot = Msg->getSelector().getNameForSlot(0); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
H A DNullabilityChecker.cpp895 StringRef FirstSelectorSlot = M.getSelector().getNameForSlot(0); in checkPostObjCMessage()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp470 if (getNameForSlot(I) != Names[I]) in isKeywordSelector()
477 return isUnarySelector() && getNameForSlot(0) == Name; in isUnarySelector()
502 StringRef Selector::getNameForSlot(unsigned int argIndex) const { in getNameForSlot() function in Selector
691 StringRef Name = Sel.getNameForSlot(0); in getPropertyNameFromSetterSelector()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclarationName.cpp75 switch (LHSSelector.getNameForSlot(I).compare( in compare()
76 RHSSelector.getNameForSlot(I))) { in compare()
H A DStmtPrinter.cpp2469 OS << selector.getNameForSlot(0); in VisitObjCMessageExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DCalledOnceCheck.cpp458 Name = PropertyMethodDecl->getSelector().getNameForSlot(0); in VisitObjCPropertyRefExpr()
1029 return hasConventionalSuffix(MethodSelector.getNameForSlot(0)); in isConventionalSelectorPiece()
1032 llvm::StringRef PieceName = MethodSelector.getNameForSlot(PieceIndex); in isConventionalSelectorPiece()
H A DRetainSummaryManager.cpp1104 StringRef Slot = S.getNameForSlot(i); in getStandardMethodSummary()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h797 StringRef getNameForSlot(unsigned argIndex) const;
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp3544 Result.getAllocator().CopyString(Sel.getNameForSlot(0))); in createCodeCompletionStringForDecl()
3548 std::string SelName = Sel.getNameForSlot(0).str(); in createCodeCompletionStringForDecl()
7320 Builder.getAllocator().CopyString(Sel.getNameForSlot(0))); in AddSuperSendCompletion()
7323 Builder.getAllocator().CopyString(Sel.getNameForSlot(0))); in AddSuperSendCompletion()
7332 Builder.getAllocator().CopyString(Sel.getNameForSlot(I) + ":")); in AddSuperSendCompletion()
7335 Builder.getAllocator().CopyString(Sel.getNameForSlot(I) + ":")); in AddSuperSendCompletion()
7340 Builder.getAllocator().CopyString(Sel.getNameForSlot(I) + ":")); in AddSuperSendCompletion()
7798 Builder.getAllocator().CopyString(Sel.getNameForSlot(0))); in CodeCompleteObjCSelector()
7813 Accumulator += Sel.getNameForSlot(I); in CodeCompleteObjCSelector()
8984 Builder.getAllocator().CopyString(Sel.getNameForSlot(0))); in CodeCompleteObjCMethodDecl()
[all …]
H A DSemaAvailability.cpp507 if (!Sel.getNameForSlot(I).empty()) { in DoEmitAvailabilityWarning()
H A DSemaDeclObjC.cpp3453 if (!sel.isUnarySelector() || sel.getNameForSlot(0) != "length") in isAcceptableMethodMismatch()
H A DSemaChecking.cpp15234 if (Cmd.isUnarySelector() && Cmd.getNameForSlot(0) == "copy") { in findCapturingExpr()
15277 StringRef str = sel.getNameForSlot(0); in isSetterLikeSelector()
H A DSemaExpr.cpp13968 StringRef SelArg0 = S.getNameForSlot(0); in checkObjCPointerIntrospection()
19001 else if (Sel.isUnarySelector() && Sel.getNameForSlot(0) == "nextObject") in DiagnoseAssignmentAsCondition()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp784 idents.push_back(&original_ctx->Idents.get(sel.getNameForSlot(i))); in FindObjCMethodDeclsWithOrigin()
959 llvm::StringRef r = sel.getNameForSlot(i); in FindObjCMethodDecls()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp39 if (!D->getSelector().getNameForSlot(0).startswith("test")) in isUnitTest()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp391 if (Sel.isUnarySelector() && Sel.getNameForSlot(0) == "alloc") in tryGenerateSpecializedMessageSend()
397 Sel.getNameForSlot(0) == "allocWithZone") { in tryGenerateSpecializedMessageSend()
532 Sel.getNameForSlot(0) != "init") in tryEmitSpecializedAllocInit()
544 !SubSel.isUnarySelector() || SubSel.getNameForSlot(0) != "alloc") in tryEmitSpecializedAllocInit()
H A DCGDebugInfo.cpp2521 Getter->getDeclName().getObjCSelector().getNameForSlot(0); in hasDefaultGetterName()
2533 Setter->getDeclName().getObjCSelector().getNameForSlot(0); in hasDefaultSetterName()
H A DCGObjCMac.cpp7273 buffer += selector.getNameForSlot(0); in appendSelectorForMessageRefTable()
7278 buffer += selector.getNameForSlot(i); in appendSelectorForMessageRefTable()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp550 StartGetterSelectorLoc.getLocWithOffset(GetterSelector.getNameForSlot(0).size()); in rewriteToObjCProperty()