Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDirectIvarAssignment.cpp47 M->getSelector().getNameForSlot(0).contains("init") || in DefaultMethodFilter()
48 M->getSelector().getNameForSlot(0).contains("Init"); in DefaultMethodFilter()
H A DMallocChecker.cpp1625 StringRef FirstSlot = Call.getSelector().getNameForSlot(0); in isKnownDeallocObjCMethodName()
1636 if (S.getNameForSlot(i) == "freeWhenDone") in getFreeWhenDoneArg()
3207 StringRef FirstSlot = Msg->getSelector().getNameForSlot(0); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
H A DNullabilityChecker.cpp1011 StringRef FirstSelectorSlot = M.getSelector().getNameForSlot(0); in checkPostObjCMessage()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp524 if (getNameForSlot(I) != Names[I]) in isKeywordSelector()
531 return isUnarySelector() && getNameForSlot(0) == Name; in isUnarySelector()
557 StringRef Selector::getNameForSlot(unsigned int argIndex) const { in getNameForSlot() function in Selector
745 StringRef Name = Sel.getNameForSlot(0); in getPropertyNameFromSetterSelector()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclarationName.cpp75 if (int Compare = LHSSelector.getNameForSlot(I).compare( in compare()
76 RHSSelector.getNameForSlot(I))) in compare()
H A DStmtPrinter.cpp2712 OS << selector.getNameForSlot(0); in VisitObjCMessageExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCalledOnceCheck.cpp458 Name = PropertyMethodDecl->getSelector().getNameForSlot(0); in VisitObjCPropertyRefExpr()
1030 return hasConventionalSuffix(MethodSelector.getNameForSlot(0)); in isConventionalSelectorPiece()
1033 llvm::StringRef PieceName = MethodSelector.getNameForSlot(PieceIndex); in isConventionalSelectorPiece()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp983 SelPieces.push_back(Sel.getNameForSlot(0)); in ProcessAPINotes()
986 SelPieces.push_back(Sel.getNameForSlot(i)); in ProcessAPINotes()
H A DSemaCodeComplete.cpp3669 Result.getAllocator().CopyString(Sel.getNameForSlot(0))); in createCodeCompletionStringForDecl()
3673 std::string SelName = Sel.getNameForSlot(0).str(); in createCodeCompletionStringForDecl()
8024 Builder.getAllocator().CopyString(Sel.getNameForSlot(0))); in AddSuperSendCompletion()
8027 Builder.getAllocator().CopyString(Sel.getNameForSlot(0))); in AddSuperSendCompletion()
8036 Builder.getAllocator().CopyString(Sel.getNameForSlot(I) + ":")); in AddSuperSendCompletion()
8039 Builder.getAllocator().CopyString(Sel.getNameForSlot(I) + ":")); in AddSuperSendCompletion()
8044 Builder.getAllocator().CopyString(Sel.getNameForSlot(I) + ":")); in AddSuperSendCompletion()
8512 Builder.getAllocator().CopyString(Sel.getNameForSlot(0))); in CodeCompleteObjCSelector()
8527 Accumulator += Sel.getNameForSlot(I); in CodeCompleteObjCSelector()
9727 Builder.getAllocator().CopyString(Sel.getNameForSlot(0))); in CodeCompleteObjCMethodDecl()
[all …]
H A DSemaObjC.cpp935 if (Cmd.isUnarySelector() && Cmd.getNameForSlot(0) == "copy") { in findCapturingExpr()
979 StringRef str = sel.getNameForSlot(0); in isSetterLikeSelector()
H A DSemaAvailability.cpp600 if (!Sel.getNameForSlot(I).empty()) { in DoEmitAvailabilityWarning()
H A DSemaDeclObjC.cpp3471 if (!sel.isUnarySelector() || sel.getNameForSlot(0) != "length") in isAcceptableMethodMismatch()
H A DSemaExpr.cpp14484 StringRef SelArg0 = S.getNameForSlot(0); in checkObjCPointerIntrospection()
20061 else if (Sel.isUnarySelector() && Sel.getNameForSlot(0) == "nextObject") in DiagnoseAssignmentAsCondition()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp734 idents.push_back(&original_ctx->Idents.get(sel.getNameForSlot(i))); in FindObjCMethodDeclsWithOrigin()
909 llvm::StringRef r = sel.getNameForSlot(i); in FindObjCMethodDecls()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h1089 StringRef getNameForSlot(unsigned argIndex) const;
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp39 if (!D->getSelector().getNameForSlot(0).starts_with("test")) in isUnitTest()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp1424 Selector.getNameForSlot(0), in getFragmentsForObjCMethod()
1433 SmallString<32> ParamID(Selector.getNameForSlot(i)); in getFragmentsForObjCMethod()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp393 if (Sel.isUnarySelector() && Sel.getNameForSlot(0) == "alloc") in tryGenerateSpecializedMessageSend()
399 Sel.getNameForSlot(0) == "allocWithZone") { in tryGenerateSpecializedMessageSend()
534 Sel.getNameForSlot(0) != "init") in tryEmitSpecializedAllocInit()
546 !SubSel.isUnarySelector() || SubSel.getNameForSlot(0) != "alloc") in tryEmitSpecializedAllocInit()
H A DCGDebugInfo.cpp2929 Getter->getDeclName().getObjCSelector().getNameForSlot(0); in hasDefaultGetterName()
2941 Setter->getDeclName().getObjCSelector().getNameForSlot(0); in hasDefaultSetterName()
H A DCGObjCMac.cpp7209 buffer += selector.getNameForSlot(0); in appendSelectorForMessageRefTable()
7214 buffer += selector.getNameForSlot(i); in appendSelectorForMessageRefTable()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp546 StartGetterSelectorLoc.getLocWithOffset(GetterSelector.getNameForSlot(0).size()); in rewriteToObjCProperty()