Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DLambdaCapture.h50 llvm::PointerIntPair<Decl*, 3> DeclAndBits; variable
84 return DeclAndBits.getPointer() == nullptr && in capturesThis()
85 (DeclAndBits.getInt() & Capture_This); in capturesThis()
90 return dyn_cast_or_null<VarDecl>(DeclAndBits.getPointer()); in capturesVariable()
96 return DeclAndBits.getPointer() == nullptr && in capturesVLAType()
97 !(DeclAndBits.getInt() & Capture_This); in capturesVLAType()
107 return static_cast<VarDecl *>(DeclAndBits.getPointer()); in getCapturedVar()
113 return DeclAndBits.getInt() & Capture_Implicit; in isImplicit()
/external/clang/lib/AST/
DExprCXX.cpp814 : DeclAndBits(Var, 0), Loc(Loc), EllipsisLoc(EllipsisLoc) in LambdaCapture()
839 DeclAndBits.setInt(Bits); in LambdaCapture()
845 bool CapByCopy = DeclAndBits.getInt() & Capture_ByCopy; in getCaptureKind()