| /src/external/apache2/llvm/dist/clang/lib/DirectoryWatcher/mac/ |
| DirectoryWatcher-mac.cpp | 51 Receiver, 53 : Queue(Queue), EventStream(EventStream), Receiver(Receiver), 58 // SetDispatchQueue to follow FSEvents API contract. The call to Receiver 63 Receiver( 76 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver; 82 std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> Receiver; 87 Receiver) 88 : WatchedPath(std::move(WatchedPath)), Receiver(Receiver) {} [all...] |
| /src/external/apache2/llvm/dist/clang/lib/DirectoryWatcher/default/ |
| DirectoryWatcher-not-implemented.cpp | 16 std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> Receiver,
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| NoReturnFunctionChecker.cpp | 112 const ObjCInterfaceDecl *Receiver = Msg.getReceiverInterface(); 113 if (!Receiver) 115 if (!Receiver->getIdentifier()->isStr("NSAssertionHandler"))
|
| TrustNonnullChecker.cpp | 166 // as the return value is nil when the receiver is nil. 186 // Alternatively, the analyzer could know that the receiver is not null. 187 SVal Receiver = MCall->getReceiverSVal(); 188 ConditionTruthVal TV = C.getState()->isNonNull(Receiver);
|
| IvarInvalidationChecker.cpp | 693 const Expr *Receiver = ME->getInstanceReceiver(); 696 if (Receiver && isInvalidationMethod(MD, /*LookForPartial*/ false)) 697 if (Receiver->isObjCSelfExpr()) { 713 if (Receiver) { 715 check(Receiver->IgnoreParenCasts());
|
| NullabilityChecker.cpp | 45 /// like [receiver method], where the nullability of this expression is either 46 /// the nullability of the receiver or the nullability of the return type of the 223 // the receiver is nullable. Here the receiver will be the source of the 828 // For super and super class receivers we assume that the receiver is 833 SVal Receiver = M.getReceiverSVal(); 834 if (auto DefOrUnknown = Receiver.getAs<DefinedOrUnknownSVal>()) { 835 // If the receiver is constrained to be nonnull, assume that it is nonnull 841 auto ValueRegionSVal = Receiver.getAs<loc::MemRegionVal>(); 855 /// nullability of the receiver, the nullability of the return value, and th [all...] |
| LocalizationChecker.cpp | 86 int getLocalizedArgumentForSelector(const IdentifierInfo *Receiver, 136 #define NEW_RECEIVER(receiver) \ 137 llvm::DenseMap<Selector, uint8_t> &receiver##M = \ 138 UIMethods.insert({&Ctx.Idents.get(#receiver), \ 141 #define ADD_NULLARY_METHOD(receiver, method, argument) \ 142 receiver##M.insert( \ 144 #define ADD_UNARY_METHOD(receiver, method, argument) \ 145 receiver##M.insert( \ 147 #define ADD_METHOD(receiver, method_list, count, argument) \ 148 receiver##M.insert({Ctx.Selectors.getSelector(count, method_list), argument}) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/DirectoryWatcher/windows/ |
| DirectoryWatcher-windows.cpp | 46 std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> Receiver,
|
| /src/external/apache2/llvm/dist/clang/lib/DirectoryWatcher/linux/ |
| DirectoryWatcher-linux.cpp | 119 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver, 140 // Make sure lifetime of Receiver fully contains lifetime of 142 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver; 151 // Does the initial scan of the directory - directly calling Receiver, 152 // bypassing the Queue. Both InitialScan and EventReceivingLoop use Receiver 162 // Both InitialScan and EventReceivingLoop use Receiver which isn't 279 this->Receiver(getAsFileEvents(scanDirectory(WatchedDirPath)), 286 this->Receiver(Event, false); 297 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver, 301 InotifyWD(InotifyWD), Receiver(Receiver) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/DirectoryWatcher/ |
| DirectoryWatcher.h | 31 /// passed to Receiver on macOS (due to FSEvents being used) while they 80 /// might still be passed to Receiver but this behavior is unspecified. 110 Receiver,
|
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| ExprObjC.h | 641 /// When the receiver in property access is 'super', this is 645 llvm::PointerUnion<Stmt *, const Type *, ObjCInterfaceDecl *> Receiver; 651 IdLoc(l), Receiver(base) { 660 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) { 670 IdLoc(IdLoc), Receiver(Base) { 681 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) { 689 ObjCInterfaceDecl *Receiver) 692 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) { 753 return cast<Expr>(Receiver.get<Stmt*>()) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| ExprObjC.cpp | 128 TypeSourceInfo *Receiver, Selector Sel, 139 setReceiverPointer(Receiver); 144 SourceLocation LBracLoc, Expr *Receiver, 155 setReceiverPointer(Receiver); 196 SourceLocation LBracLoc, TypeSourceInfo *Receiver, 209 ObjCMessageExpr(T, VK, LBracLoc, Receiver, Sel, SelLocs, SelLocsK, Method, 215 SourceLocation LBracLoc, Expr *Receiver, Selector Sel, 228 ObjCMessageExpr(T, VK, LBracLoc, Receiver, Sel, SelLocs, SelLocsK, Method, 324 llvm_unreachable("unexpected receiver kind");
|
| /src/external/apache2/llvm/dist/clang/include/clang/Analysis/ |
| RetainSummaryManager.h | 116 /// An ArgEffect summarizes the retain count behavior on an argument or receiver 155 /// receiver is also a tracked object. 292 /// Receiver - If this summary applies to an Objective-C message expression, 293 /// this is the effect applied to the state of the receiver. 294 ArgEffect Receiver; 309 : Args(A), DefaultArgEffect(defaultEff), Receiver(ReceiverEff), 337 /// Sets the effect on the receiver of the message. 338 void setReceiverEffect(ArgEffect e) { Receiver = e; } 340 /// getReceiverEffect - Returns the effect on the receiver of the call. 342 ArgEffect getReceiverEffect() const { return Receiver; } [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaExprObjC.cpp | 1449 /// Determine the result type of a message send based on the receiver type, 1492 // - if the receiver is super, T is a pointer to the class of the 1503 // - if the receiver is the name of a class U, T is a pointer to U 1506 // - if the receiver is of type Class or qualified Class type, 1513 // - if the receiver is id, qualified id, Class, or qualified Class, T 1514 // is the receiver type, otherwise 1515 // - T is the type of the receiver expression. 1519 QualType Sema::getMessageSendResultType(const Expr *Receiver, 1530 // If this is a class message, ignore the nullability of the receiver. 1537 if (Receiver && Receiver->isObjCSelfExpr()) [all...] |
| SemaCodeComplete.cpp | 1002 // message receiver, or parenthesized expression context. There, it's as 4261 ParsedType Receiver, 4311 // be a receiver of a class message, this may be a class message send with 7439 ParsedType Receiver; 7441 Receiver = ParsedType::make(Context.getObjCInterfaceType(CDecl)); 7442 return CodeCompleteObjCClassMessage(S, Receiver, SelIdents, 7482 ParsedType Receiver, 7491 if (Receiver) { 7492 QualType T = SemaRef.GetTypeFromParser(Receiver, nullptr); 7556 void Sema::CodeCompleteObjCClassMessage(Scope *S, ParsedType Receiver, [all...] |
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGObjC.cpp | 76 // Generate a reference to the class pointer, which will be the receiver. 81 llvm::Value *Receiver = Runtime.GetClass(*this, ClassDecl); 114 *this, ReturnValueSlot(), BoxingMethod->getReturnType(), Sel, Receiver, 216 // Generate a reference to the class pointer, which will be the receiver. 224 llvm::Value *Receiver = Runtime.GetClass(*this, Class); 229 Receiver, Args, Class, MethodWithObjects); 284 /// Decide whether to extend the lifetime of the receiver of a 291 // receiver is loaded from a variable with precise lifetime. 293 const Expr *receiver = message->getInstanceReceiver(); local 296 if (auto opaque = dyn_cast<OpaqueValueExpr>(receiver)) { [all...] |
| CGObjCRuntime.h | 171 llvm::Value *Receiver, 185 llvm::Value *Receiver,
|
| CGObjCGNU.cpp | 101 /// contains the receiver (object) and the expected class. 538 llvm::Value *&Receiver, 573 llvm::Value *Receiver, const CallArgList &CallArgs, 580 bool isCategoryImpl, llvm::Value *Receiver, 683 /// structure describing the receiver and the class, and a selector as 688 llvm::Value *LookupIMP(CodeGenFunction &CGF, llvm::Value *&Receiver, 693 EnforceType(Builder, Receiver, IdTy), 724 /// a structure describing the receiver and the class, and a selector as 750 llvm::Value *LookupIMP(CodeGenFunction &CGF, llvm::Value *&Receiver, 756 // Store the receiver on the stack so that we can reload it late [all...] |
| CGObjCMac.cpp | 1321 Selector Sel, llvm::Value *Receiver, 1330 bool isCategoryImpl, llvm::Value *Receiver, 1485 llvm::Value *Receiver, 1610 llvm::Value *Receiver, 1619 bool isCategoryImpl, llvm::Value *Receiver, 1715 /// Perform a null-check of the given receiver. 1716 void init(CodeGenFunction &CGF, llvm::Value *receiver) { 1717 // Make blocks for the null-receiver and call edges. 1718 NullBB = CGF.createBasicBlock("msgSend.null-receiver"); 1721 // Check for a null receiver and, if there is one, jump to th [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Edit/ |
| RewriteObjCFoundationAPI.cpp | 31 const ObjCInterfaceDecl *Receiver = Msg->getReceiverInterface(); 32 if (!Receiver) 34 ClassId = Receiver->getIdentifier(); 102 /// the receiver is a result of a class method from a hardcoded list of 104 /// of the receiver. 109 const Expr *Receiver, 111 assert(IFace && Receiver); 113 // If the receiver has type 'id'... 114 if (!Ctx.isObjCIdType(Receiver->getType().getUnqualifiedType())) 118 InnerMsg = dyn_cast<ObjCMessageExpr>(Receiver->IgnoreParenCasts()) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| CallEvent.cpp | 950 // an instance variable, don't invalidate the entire receiver, just 1244 // Find the receiver type. 1249 const MemRegion *Receiver = nullptr; 1252 // The receiver is guaranteed to be 'super' in this case. 1257 Receiver = getReceiverSVal().getAsRegion(); 1258 if (!Receiver) 1261 DynamicTypeInfo DTI = getDynamicTypeInfo(getState(), Receiver); 1263 assert(isa<AllocaRegion>(Receiver) && 1278 // receiver. This type of messages is treated by the compiler as 1284 if (Receiver == SelfVal.getAsRegion()) [all...] |
| BugReporterVisitors.cpp | 2076 // The message send could be nil due to the receiver being nil. 2077 // At this point in the path, the receiver should be live since we are at the 2079 if (const Expr *Receiver = NilReceiverBRVisitor::getNilReceiver(Inner, LVNode)) 2081 LVNode, Receiver, report, TKind, EnableNullFPSuppression); 2212 if (const Expr *Receiver = ME->getInstanceReceiver()) { 2214 SVal V = N->getSVal(Receiver); 2216 return Receiver; 2229 const Expr *Receiver = getNilReceiver(S, N); 2230 if (!Receiver) 2244 OS << " because the receiver is nil" [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Parse/ |
| ParseObjc.cpp | 2878 /// Parse the receiver of an Objective-C++ message send. 2880 /// This routine parses the receiver of a message send in 2885 /// \param IsExpr Whether the receiver was parsed as an expression. 2887 /// \param TypeOrExpr If the receiver was parsed as an expression (\c 2888 /// IsExpr is true), the parsed expression. If the receiver was parsed 2895 /// objc-receiver: [C++] 2908 // objc-receiver: 2910 // Make sure any typos in the receiver are corrected or diagnosed, so that 2913 ExprResult Receiver = Actions.CorrectDelayedTyposInExpr(ParseExpression()); 2914 if (Receiver.isInvalid() [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| CalledOnceCheck.cpp | 1541 if (const Expr *Receiver = Message->getInstanceReceiver()) { 1542 checkEscapee(Receiver);
|
| /src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| Sema.h | 9763 ParsedType Receiver, 9770 ExprResult BuildInstanceMessage(Expr *Receiver, 9781 ExprResult BuildInstanceMessageImplicit(Expr *Receiver, 9789 Expr *Receiver, 11757 void checkRetainCycles(Expr *receiver, Expr *argument); 11772 bool CheckMessageArgumentTypes(const Expr *Receiver, QualType ReceiverType, 11781 /// the type of the receiver, the method expected to receive the message, 11783 QualType getMessageSendResultType(const Expr *Receiver, QualType ReceiverType, 12334 void CodeCompleteObjCClassMessage(Scope *S, ParsedType Receiver, 12338 void CodeCompleteObjCInstanceMessage(Scope *S, Expr *Receiver, [all...] |