Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DInitialization.h252 static InitializedEntity InitializeException(SourceLocation ThrowLoc, in InitializeException() argument
254 return InitializedEntity(EK_Exception, ThrowLoc, Type, NRVO); in InitializeException()
DSema.h4749 bool CheckCXXThrowOperand(SourceLocation ThrowLoc, QualType ThrowTy, Expr *E);
/external/llvm-project/clang/include/clang/Sema/
DInitialization.h322 static InitializedEntity InitializeException(SourceLocation ThrowLoc, in InitializeException() argument
324 return InitializedEntity(EK_Exception, ThrowLoc, Type, NRVO); in InitializeException()
DSema.h6041 bool CheckCXXThrowOperand(SourceLocation ThrowLoc, QualType ThrowTy, Expr *E);
/external/clang/include/clang/AST/
DExprCXX.h915 SourceLocation ThrowLoc; variable
930 Op(expr), ThrowLoc(l), IsThrownVariableInScope(IsThrownVariableInScope) {} in CXXThrowExpr()
936 SourceLocation getThrowLoc() const { return ThrowLoc; } in getThrowLoc()
945 SourceLocation getLocStart() const LLVM_READONLY { return ThrowLoc; } in getLocStart()
948 return ThrowLoc; in getLocEnd()
/external/clang/lib/Parse/
DParseExprCXX.cpp1610 SourceLocation ThrowLoc = ConsumeToken(); // Eat the throw token. in ParseThrowExpression() local
1622 return Actions.ActOnCXXThrow(getCurScope(), ThrowLoc, nullptr); in ParseThrowExpression()
1627 return Actions.ActOnCXXThrow(getCurScope(), ThrowLoc, Expr.get()); in ParseThrowExpression()
/external/llvm-project/clang/lib/Sema/
DSemaExprCXX.cpp945 bool Sema::CheckCXXThrowOperand(SourceLocation ThrowLoc, in CheckCXXThrowOperand() argument
956 if (RequireCompleteType(ThrowLoc, Ty, in CheckCXXThrowOperand()
963 Diag(ThrowLoc, diag::err_throw_sizeless) << Ty << E->getSourceRange(); in CheckCXXThrowOperand()
967 if (RequireNonAbstractType(ThrowLoc, ExceptionObjectTy, in CheckCXXThrowOperand()
979 MarkVTableUsed(ThrowLoc, RD); in CheckCXXThrowOperand()
1034 if (CheckCXXDefaultArgExpr(ThrowLoc, CD, CD->getParamDecl(I))) in CheckCXXThrowOperand()
1048 Diag(ThrowLoc, diag::warn_throw_underaligned_obj); in CheckCXXThrowOperand()
1049 Diag(ThrowLoc, diag::note_throw_underaligned_obj) in CheckCXXThrowOperand()
DTreeTransform.h2956 ExprResult RebuildCXXThrowExpr(SourceLocation ThrowLoc, Expr *Sub, in RebuildCXXThrowExpr() argument
2958 return getSema().BuildCXXThrow(ThrowLoc, Sub, IsThrownVariableInScope); in RebuildCXXThrowExpr()
/external/llvm-project/clang/lib/Parse/
DParseExprCXX.cpp1834 SourceLocation ThrowLoc = ConsumeToken(); // Eat the throw token. in ParseThrowExpression() local
1846 return Actions.ActOnCXXThrow(getCurScope(), ThrowLoc, nullptr); in ParseThrowExpression()
1851 return Actions.ActOnCXXThrow(getCurScope(), ThrowLoc, Expr.get()); in ParseThrowExpression()
/external/clang/lib/Sema/
DSemaExprCXX.cpp777 bool Sema::CheckCXXThrowOperand(SourceLocation ThrowLoc, in CheckCXXThrowOperand() argument
788 if (RequireCompleteType(ThrowLoc, Ty, in CheckCXXThrowOperand()
794 if (RequireNonAbstractType(ThrowLoc, ExceptionObjectTy, in CheckCXXThrowOperand()
806 MarkVTableUsed(ThrowLoc, RD); in CheckCXXThrowOperand()
866 BuildCXXDefaultArgExpr(ThrowLoc, CD, CD->getParamDecl(I)).get(); in CheckCXXThrowOperand()
DTreeTransform.h2543 ExprResult RebuildCXXThrowExpr(SourceLocation ThrowLoc, Expr *Sub, in RebuildCXXThrowExpr() argument
2545 return getSema().BuildCXXThrow(ThrowLoc, Sub, IsThrownVariableInScope); in RebuildCXXThrowExpr()
/external/llvm-project/clang/include/clang/AST/
DExprCXX.h1185 CXXThrowExprBits.ThrowLoc = Loc; in CXXThrowExpr()
1194 SourceLocation getThrowLoc() const { return CXXThrowExprBits.ThrowLoc; } in getThrowLoc()
DStmt.h677 SourceLocation ThrowLoc; variable
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp1824 E->CXXThrowExprBits.ThrowLoc = readSourceLocation(); in VisitCXXThrowExpr()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1372 E->ThrowLoc = ReadSourceLocation(Record, Idx); in VisitCXXThrowExpr()