Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaLambda.cpp456 if (ParenListExpr *Parens = dyn_cast<ParenListExpr>(Init)) { in checkInitCapture() local
457 if (Parens->getNumExprs() == 1) { in checkInitCapture()
458 Init = Parens->getExpr(0); in checkInitCapture()
460 Loc, Parens->getLParenLoc(), Parens->getRParenLoc()); in checkInitCapture()
465 if (Parens->getNumExprs() == 0) in checkInitCapture()
466 Diag(Parens->getLocStart(), diag::err_init_capture_no_expression) in checkInitCapture()
468 else if (Parens->getNumExprs() > 1) in checkInitCapture()
469 Diag(Parens->getExpr(1)->getLocStart(), in checkInitCapture()
DSemaCast.cpp240 SourceRange AngleBrackets, SourceRange Parens) { in BuildCXXNamedCast() argument
249 Op.OpRange = SourceRange(OpLoc, Parens.getEnd()); in BuildCXXNamedCast()
263 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
275 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
287 Parens.getEnd(), in BuildCXXNamedCast()
300 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
DTreeTransform.h2723 SourceRange Parens = VIE->getSourceRange(); in TransformInitializer() local
2724 return getDerived().RebuildParenListExpr(Parens.getBegin(), None, in TransformInitializer()
2725 Parens.getEnd()); in TransformInitializer()
2751 SourceRange Parens = Construct->getParenRange(); in TransformInitializer() local
2752 return getDerived().RebuildParenListExpr(Parens.getBegin(), NewArgs, in TransformInitializer()
2753 Parens.getEnd()); in TransformInitializer()
DSemaType.cpp4132 Parens, enumerator
4151 Stack.push_back(Parens); in FunctionTypeUnwrapper()
4212 case Parens: { in wrap()
DSemaTemplate.cpp4162 while (ParenExpr *Parens = dyn_cast<ParenExpr>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
4172 Arg = Parens->getSubExpr(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4467 while (ParenExpr *Parens = dyn_cast<ParenExpr>(Arg)) { in CheckTemplateArgumentPointerToMember() local
4477 Arg = Parens->getSubExpr(); in CheckTemplateArgumentPointerToMember()
/external/clang/lib/Parse/
DParseExprCXX.cpp793 BalancedDelimiterTracker Parens(*this, tok::l_paren); in ParseLambdaIntroducer() local
794 Parens.consumeOpen(); in ParseLambdaIntroducer()
799 Parens.skipToEnd(); in ParseLambdaIntroducer()
802 Parens.skipToEnd(); in ParseLambdaIntroducer()
805 Parens.consumeClose(); in ParseLambdaIntroducer()
806 Init = Actions.ActOnParenListExpr(Parens.getOpenLocation(), in ParseLambdaIntroducer()
807 Parens.getCloseLocation(), in ParseLambdaIntroducer()
2787 BalancedDelimiterTracker Parens(*this, tok::l_paren); in ParseTypeTrait() local
2788 if (Parens.expectAndConsume(diag::err_expected_lparen)) in ParseTypeTrait()
2796 Parens.skipToEnd(); in ParseTypeTrait()
[all …]
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTest.cpp78 bool VisitParenExpr(ParenExpr *Parens) { in VisitParenExpr() argument
79 Match("", Parens->getExprLoc()); in VisitParenExpr()
/external/clang/test/SemaCXX/
Dconstant-expression-cxx11.cpp462 namespace Parens { namespace
/external/clang/include/clang/Sema/
DSema.h3944 SourceRange Parens);