| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| UncountedLambdaCapturesChecker.cpp | 25 BugType Bug{this, "Lambda capture of uncounted variable", 71 void reportBug(const LambdaCapture &Capture, VarDecl *CapturedVar, 78 if (Capture.isExplicit()) { 90 printQuotedQualifiedName(Os, Capture.getCapturedVar()); 93 PathDiagnosticLocation BSLoc(Capture.getLocation(), BR->getSourceManager());
|
| UncountedLambdaCapturesChecker.cpp | 25 BugType Bug{this, "Lambda capture of uncounted variable", 71 void reportBug(const LambdaCapture &Capture, VarDecl *CapturedVar, 78 if (Capture.isExplicit()) { 90 printQuotedQualifiedName(Os, Capture.getCapturedVar()); 93 PathDiagnosticLocation BSLoc(Capture.getLocation(), BR->getSourceManager());
|
| UncountedLambdaCapturesChecker.cpp | 25 BugType Bug{this, "Lambda capture of uncounted variable", 71 void reportBug(const LambdaCapture &Capture, VarDecl *CapturedVar, 78 if (Capture.isExplicit()) { 90 printQuotedQualifiedName(Os, Capture.getCapturedVar()); 93 PathDiagnosticLocation BSLoc(Capture.getLocation(), BR->getSourceManager());
|
| UncountedLambdaCapturesChecker.cpp | 25 BugType Bug{this, "Lambda capture of uncounted variable", 71 void reportBug(const LambdaCapture &Capture, VarDecl *CapturedVar, 78 if (Capture.isExplicit()) { 90 printQuotedQualifiedName(Os, Capture.getCapturedVar()); 93 PathDiagnosticLocation BSLoc(Capture.getLocation(), BR->getSourceManager());
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGBlocks.h | 160 class Capture { 165 /// Type of the capture field. Normally, this is identical to the type of 166 /// the capture's VarDecl, but can be different if there is an enclosing 200 static Capture makeIndex(unsigned index, CharUnits offset, 202 Capture v; 209 static Capture makeConstant(llvm::Value *value) { 210 Capture v; 242 llvm::DenseMap<const VarDecl*, Capture> Captures; 266 const Capture &getCapture(const VarDecl *var) const { 269 Capture &getCapture(const VarDecl *var) [all...] |
| CGBlocks.h | 160 class Capture { 165 /// Type of the capture field. Normally, this is identical to the type of 166 /// the capture's VarDecl, but can be different if there is an enclosing 200 static Capture makeIndex(unsigned index, CharUnits offset, 202 Capture v; 209 static Capture makeConstant(llvm::Value *value) { 210 Capture v; 242 llvm::DenseMap<const VarDecl*, Capture> Captures; 266 const Capture &getCapture(const VarDecl *var) const { 269 Capture &getCapture(const VarDecl *var) [all...] |
| CGBlocks.h | 160 class Capture { 165 /// Type of the capture field. Normally, this is identical to the type of 166 /// the capture's VarDecl, but can be different if there is an enclosing 200 static Capture makeIndex(unsigned index, CharUnits offset, 202 Capture v; 209 static Capture makeConstant(llvm::Value *value) { 210 Capture v; 242 llvm::DenseMap<const VarDecl*, Capture> Captures; 266 const Capture &getCapture(const VarDecl *var) const { 269 Capture &getCapture(const VarDecl *var) [all...] |
| CGBlocks.h | 160 class Capture { 165 /// Type of the capture field. Normally, this is identical to the type of 166 /// the capture's VarDecl, but can be different if there is an enclosing 200 static Capture makeIndex(unsigned index, CharUnits offset, 202 Capture v; 209 static Capture makeConstant(llvm::Value *value) { 210 Capture v; 242 llvm::DenseMap<const VarDecl*, Capture> Captures; 266 const Capture &getCapture(const VarDecl *var) const { 269 Capture &getCapture(const VarDecl *var) [all...] |
| CGBlocks.cpp | 85 const BlockDecl::Capture *CI; 86 const CGBlockInfo::Capture *Capture; 92 const BlockDecl::Capture &CI, 93 const CGBlockInfo::Capture &Capture) 95 DisposeFlags(DisposeFlags), CI(&CI), Capture(&Capture) {} 98 return Capture->getOffset() < Other.Capture->getOffset() 912 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local 1247 const CGBlockInfo::Capture &capture = BlockInfo->getCapture(variable); local 1546 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local 1586 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local 1980 const CGBlockInfo::Capture &capture = *CopiedCapture.Capture; local 2175 const CGBlockInfo::Capture &capture = *DestroyedCapture.Capture; local [all...] |
| CGBlocks.cpp | 85 const BlockDecl::Capture *CI; 86 const CGBlockInfo::Capture *Capture; 92 const BlockDecl::Capture &CI, 93 const CGBlockInfo::Capture &Capture) 95 DisposeFlags(DisposeFlags), CI(&CI), Capture(&Capture) {} 98 return Capture->getOffset() < Other.Capture->getOffset() 912 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local 1247 const CGBlockInfo::Capture &capture = BlockInfo->getCapture(variable); local 1546 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local 1586 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local 1980 const CGBlockInfo::Capture &capture = *CopiedCapture.Capture; local 2175 const CGBlockInfo::Capture &capture = *DestroyedCapture.Capture; local [all...] |
| CGBlocks.cpp | 85 const BlockDecl::Capture *CI; 86 const CGBlockInfo::Capture *Capture; 92 const BlockDecl::Capture &CI, 93 const CGBlockInfo::Capture &Capture) 95 DisposeFlags(DisposeFlags), CI(&CI), Capture(&Capture) {} 98 return Capture->getOffset() < Other.Capture->getOffset() 912 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local 1247 const CGBlockInfo::Capture &capture = BlockInfo->getCapture(variable); local 1546 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local 1586 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local 1980 const CGBlockInfo::Capture &capture = *CopiedCapture.Capture; local 2175 const CGBlockInfo::Capture &capture = *DestroyedCapture.Capture; local [all...] |
| CGBlocks.cpp | 85 const BlockDecl::Capture *CI; 86 const CGBlockInfo::Capture *Capture; 92 const BlockDecl::Capture &CI, 93 const CGBlockInfo::Capture &Capture) 95 DisposeFlags(DisposeFlags), CI(&CI), Capture(&Capture) {} 98 return Capture->getOffset() < Other.Capture->getOffset() 912 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local 1247 const CGBlockInfo::Capture &capture = BlockInfo->getCapture(variable); local 1546 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local 1586 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local 1980 const CGBlockInfo::Capture &capture = *CopiedCapture.Capture; local 2175 const CGBlockInfo::Capture &capture = *DestroyedCapture.Capture; local [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| ScopeInfo.h | 521 class Capture { 522 // There are three categories of capture: capturing 'this', capturing 524 // arbitrary initializer, and don't really capture in the traditional 527 // There are three ways to capture a local variable: 528 // - capture by copy in the C++11 sense, 529 // - capture by reference in the C++11 sense, and 530 // - __block capture. 531 // Lambdas explicitly specify capture by copy or capture by reference. 532 // For blocks, __block capture applies to variables with that annotation [all...] |
| ScopeInfo.h | 521 class Capture { 522 // There are three categories of capture: capturing 'this', capturing 524 // arbitrary initializer, and don't really capture in the traditional 527 // There are three ways to capture a local variable: 528 // - capture by copy in the C++11 sense, 529 // - capture by reference in the C++11 sense, and 530 // - __block capture. 531 // Lambdas explicitly specify capture by copy or capture by reference. 532 // For blocks, __block capture applies to variables with that annotation [all...] |
| ScopeInfo.h | 521 class Capture { 522 // There are three categories of capture: capturing 'this', capturing 524 // arbitrary initializer, and don't really capture in the traditional 527 // There are three ways to capture a local variable: 528 // - capture by copy in the C++11 sense, 529 // - capture by reference in the C++11 sense, and 530 // - __block capture. 531 // Lambdas explicitly specify capture by copy or capture by reference. 532 // For blocks, __block capture applies to variables with that annotation [all...] |
| ScopeInfo.h | 521 class Capture { 522 // There are three categories of capture: capturing 'this', capturing 524 // arbitrary initializer, and don't really capture in the traditional 527 // There are three ways to capture a local variable: 528 // - capture by copy in the C++11 sense, 529 // - capture by reference in the C++11 sense, and 530 // - __block capture. 531 // Lambdas explicitly specify capture by copy or capture by reference. 532 // For blocks, __block capture applies to variables with that annotation [all...] |
| Initialization.h | 176 /// The source location at which the capture occurs. 209 struct C Capture; 239 /// Create the initialization entity for a lambda capture. 242 new (&Capture) C; 243 Capture.VarID = VarID; 244 Capture.Location = Loc; 403 /// Create the initialization entity for a lambda capture. 530 /// For a lambda capture, return the capture's name. 532 assert(getKind() == EK_LambdaCapture && "Not a lambda capture!"); [all...] |
| Initialization.h | 176 /// The source location at which the capture occurs. 209 struct C Capture; 239 /// Create the initialization entity for a lambda capture. 242 new (&Capture) C; 243 Capture.VarID = VarID; 244 Capture.Location = Loc; 403 /// Create the initialization entity for a lambda capture. 530 /// For a lambda capture, return the capture's name. 532 assert(getKind() == EK_LambdaCapture && "Not a lambda capture!"); [all...] |
| Initialization.h | 176 /// The source location at which the capture occurs. 209 struct C Capture; 239 /// Create the initialization entity for a lambda capture. 242 new (&Capture) C; 243 Capture.VarID = VarID; 244 Capture.Location = Loc; 403 /// Create the initialization entity for a lambda capture. 530 /// For a lambda capture, return the capture's name. 532 assert(getKind() == EK_LambdaCapture && "Not a lambda capture!"); [all...] |
| Initialization.h | 176 /// The source location at which the capture occurs. 209 struct C Capture; 239 /// Create the initialization entity for a lambda capture. 242 new (&Capture) C; 243 Capture.VarID = VarID; 244 Capture.Location = Loc; 403 /// Create the initialization entity for a lambda capture. 530 /// For a lambda capture, return the capture's name. 532 assert(getKind() == EK_LambdaCapture && "Not a lambda capture!"); [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaLambda.cpp | 28 /// enclosing lambda (to the current lambda) that is 'capture-ready' for 31 /// of the capture-ready lambda's LambdaScopeInfo. 35 /// lambda that is ready to capture the \p VarToCapture being referenced in 38 /// that is the lambda with the highest index that is 'capture-ready'. 40 /// A lambda 'L' is capture-ready for 'V' (var or this) if: 44 /// stack), can all capture or have already captured V. 45 /// If \p VarToCapture is 'null' then we are trying to capture 'this'. 47 /// Note that a lambda that is deemed 'capture-ready' still needs to be checked 48 /// for whether it is 'capture-capable' (see 50 /// capture [all...] |
| SemaLambda.cpp | 28 /// enclosing lambda (to the current lambda) that is 'capture-ready' for 31 /// of the capture-ready lambda's LambdaScopeInfo. 35 /// lambda that is ready to capture the \p VarToCapture being referenced in 38 /// that is the lambda with the highest index that is 'capture-ready'. 40 /// A lambda 'L' is capture-ready for 'V' (var or this) if: 44 /// stack), can all capture or have already captured V. 45 /// If \p VarToCapture is 'null' then we are trying to capture 'this'. 47 /// Note that a lambda that is deemed 'capture-ready' still needs to be checked 48 /// for whether it is 'capture-capable' (see 50 /// capture [all...] |
| SemaLambda.cpp | 28 /// enclosing lambda (to the current lambda) that is 'capture-ready' for 31 /// of the capture-ready lambda's LambdaScopeInfo. 35 /// lambda that is ready to capture the \p VarToCapture being referenced in 38 /// that is the lambda with the highest index that is 'capture-ready'. 40 /// A lambda 'L' is capture-ready for 'V' (var or this) if: 44 /// stack), can all capture or have already captured V. 45 /// If \p VarToCapture is 'null' then we are trying to capture 'this'. 47 /// Note that a lambda that is deemed 'capture-ready' still needs to be checked 48 /// for whether it is 'capture-capable' (see 50 /// capture [all...] |
| SemaLambda.cpp | 28 /// enclosing lambda (to the current lambda) that is 'capture-ready' for 31 /// of the capture-ready lambda's LambdaScopeInfo. 35 /// lambda that is ready to capture the \p VarToCapture being referenced in 38 /// that is the lambda with the highest index that is 'capture-ready'. 40 /// A lambda 'L' is capture-ready for 'V' (var or this) if: 44 /// stack), can all capture or have already captured V. 45 /// If \p VarToCapture is 'null' then we are trying to capture 'this'. 47 /// Note that a lambda that is deemed 'capture-ready' still needs to be checked 48 /// for whether it is 'capture-capable' (see 50 /// capture [all...] |
| SemaCUDA.cpp | 798 // Check the wrong-sided reference capture of lambda for CUDA/HIP. 799 // A lambda function may capture a stack variable by reference when it is 800 // defined and uses the capture by reference when the lambda is called. When 801 // the capture and use happen on different sides, the capture is invalid and 804 const sema::Capture &Capture) { 806 // side. In such lambda functions, a reference capture is invalid only 823 // emitted on device side. For such lambdas, a reference capture is invalid 830 if (!ShouldCheck || !Capture.isReferenceCapture() [all...] |