/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DirectIvarAssignment.cpp | 47 M->getSelector().getNameForSlot(0).contains("init") || in DefaultMethodFilter() 48 M->getSelector().getNameForSlot(0).contains("Init"); in DefaultMethodFilter()
|
H A D | MallocChecker.cpp | 1625 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 D | NullabilityChecker.cpp | 1011 StringRef FirstSelectorSlot = M.getSelector().getNameForSlot(0); in checkPostObjCMessage()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | IdentifierTable.cpp | 524 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 D | DeclarationName.cpp | 75 if (int Compare = LHSSelector.getNameForSlot(I).compare( in compare() 76 RHSSelector.getNameForSlot(I))) in compare()
|
H A D | StmtPrinter.cpp | 2712 OS << selector.getNameForSlot(0); in VisitObjCMessageExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CalledOnceCheck.cpp | 458 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 D | SemaAPINotes.cpp | 983 SelPieces.push_back(Sel.getNameForSlot(0)); in ProcessAPINotes() 986 SelPieces.push_back(Sel.getNameForSlot(i)); in ProcessAPINotes()
|
H A D | SemaCodeComplete.cpp | 3669 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 D | SemaObjC.cpp | 935 if (Cmd.isUnarySelector() && Cmd.getNameForSlot(0) == "copy") { in findCapturingExpr() 979 StringRef str = sel.getNameForSlot(0); in isSetterLikeSelector()
|
H A D | SemaAvailability.cpp | 600 if (!Sel.getNameForSlot(I).empty()) { in DoEmitAvailabilityWarning()
|
H A D | SemaDeclObjC.cpp | 3471 if (!sel.isUnarySelector() || sel.getNameForSlot(0) != "length") in isAcceptableMethodMismatch()
|
H A D | SemaExpr.cpp | 14484 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 D | ClangASTSource.cpp | 734 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 D | IdentifierTable.h | 1089 StringRef getNameForSlot(unsigned argIndex) const;
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexSymbol.cpp | 39 if (!D->getSelector().getNameForSlot(0).starts_with("test")) in isUnitTest()
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | DeclarationFragments.cpp | 1424 Selector.getNameForSlot(0), in getFragmentsForObjCMethod() 1433 SmallString<32> ParamID(Selector.getNameForSlot(i)); in getFragmentsForObjCMethod()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjC.cpp | 393 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 D | CGDebugInfo.cpp | 2929 Getter->getDeclName().getObjCSelector().getNameForSlot(0); in hasDefaultGetterName() 2941 Setter->getDeclName().getObjCSelector().getNameForSlot(0); in hasDefaultSetterName()
|
H A D | CGObjCMac.cpp | 7209 buffer += selector.getNameForSlot(0); in appendSelectorForMessageRefTable() 7214 buffer += selector.getNameForSlot(i); in appendSelectorForMessageRefTable()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 546 StartGetterSelectorLoc.getLocWithOffset(GetterSelector.getNameForSlot(0).size()); in rewriteToObjCProperty()
|