Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DScopeInfo.h341 llvm::PointerIntPair<VarDecl*, 2, CaptureKind> VarAndKind; variable
363 : VarAndKind(Var, block ? Cap_Block : byRef ? Cap_ByRef : Cap_ByCopy), in Capture()
370 : VarAndKind(0, Cap_This), CopyExprAndNested(Cpy, isNested), Loc(Loc), in Capture()
373 bool isThisCapture() const { return VarAndKind.getInt() == Cap_This; } in isThisCapture()
375 bool isCopyCapture() const { return VarAndKind.getInt() == Cap_ByCopy; } in isCopyCapture()
376 bool isReferenceCapture() const { return VarAndKind.getInt() == Cap_ByRef; } in isReferenceCapture()
377 bool isBlockCapture() const { return VarAndKind.getInt() == Cap_Block; } in isBlockCapture()
381 return VarAndKind.getPointer(); in getVariable()