parent
cabf1e2299
commit
0d702a7fad
|
@ -2701,7 +2701,7 @@ public:
|
||||||
/// otherwise returns null.
|
/// otherwise returns null.
|
||||||
const ObjCInterfaceDecl *getObjContainingInterface(const NamedDecl *ND) const;
|
const ObjCInterfaceDecl *getObjContainingInterface(const NamedDecl *ND) const;
|
||||||
|
|
||||||
/// Set the copy inialization expression of a block var decl. \p CanThrow
|
/// Set the copy initialization expression of a block var decl. \p CanThrow
|
||||||
/// indicates whether the copy expression can throw or not.
|
/// indicates whether the copy expression can throw or not.
|
||||||
void setBlockVarCopyInit(const VarDecl* VD, Expr *CopyExpr, bool CanThrow);
|
void setBlockVarCopyInit(const VarDecl* VD, Expr *CopyExpr, bool CanThrow);
|
||||||
|
|
||||||
|
|
|
@ -2580,7 +2580,7 @@ ASTContext::getBlockVarCopyInit(const VarDecl*VD) const {
|
||||||
return {nullptr, false};
|
return {nullptr, false};
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set the copy inialization expression of a block var decl.
|
/// Set the copy initialization expression of a block var decl.
|
||||||
void ASTContext::setBlockVarCopyInit(const VarDecl*VD, Expr *CopyExpr,
|
void ASTContext::setBlockVarCopyInit(const VarDecl*VD, Expr *CopyExpr,
|
||||||
bool CanThrow) {
|
bool CanThrow) {
|
||||||
assert(VD && CopyExpr && "Passed null params");
|
assert(VD && CopyExpr && "Passed null params");
|
||||||
|
|
Loading…
Reference in New Issue