Home
last modified time | relevance | path

Searched refs:DeclAndBits (Results 1 – 2 of 2) sorted by relevance

/src/contrib/llvm-project/clang/include/clang/AST/
H A DLambdaCapture.h49 llvm::PointerIntPair<Decl*, 3> DeclAndBits; variable
83 return DeclAndBits.getPointer() == nullptr && in capturesThis()
84 (DeclAndBits.getInt() & Capture_This); in capturesThis()
89 return isa_and_nonnull<ValueDecl>(DeclAndBits.getPointer()); in capturesVariable()
95 return DeclAndBits.getPointer() == nullptr && in capturesVLAType()
96 !(DeclAndBits.getInt() & Capture_This); in capturesVLAType()
106 return static_cast<ValueDecl *>(DeclAndBits.getPointer()); in getCapturedVar()
112 return DeclAndBits.getInt() & Capture_Implicit; in isImplicit()
/src/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1219 : DeclAndBits(Var, 0), Loc(Loc), EllipsisLoc(EllipsisLoc) { in LambdaCapture()
1243 DeclAndBits.setInt(Bits); in LambdaCapture()
1249 bool CapByCopy = DeclAndBits.getInt() & Capture_ByCopy; in getCaptureKind()