Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
DParenExpr.cpp17 bool VisitParenExpr(ParenExpr *Parens) { in VisitParenExpr() argument
18 Match("", Parens->getExprLoc()); in VisitParenExpr()
/external/rust/crates/syn/src/
Dgroup.rs8 pub struct Parens<'a> { struct
37 pub fn parse_parens<'a>(input: &ParseBuffer<'a>) -> Result<Parens<'a>> { in parse_parens()
38 parse_delimited(input, Delimiter::Parenthesis).map(|(span, content)| Parens { in parse_parens()
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestExprVisitor.cpp19 bool VisitParenExpr(ParenExpr *Parens) { in VisitParenExpr() argument
20 Match("", Parens->getExprLoc()); in VisitParenExpr()
/external/llvm-project/clang/lib/Tooling/Transformer/
DStencil.cpp61 Parens, enumerator
122 case UnaryNodeOperator::Parens: in toStringData()
211 case UnaryNodeOperator::Parens: in evalData()
355 UnaryNodeOperator::Parens, std::string(Id)); in expression()
/external/llvm-project/clang/lib/Parse/
DParseExprCXX.cpp972 BalancedDelimiterTracker Parens(*this, tok::l_paren); in ParseLambdaIntroducer() local
973 Parens.consumeOpen(); in ParseLambdaIntroducer()
980 Parens.skipToEnd(); in ParseLambdaIntroducer()
983 Parens.skipToEnd(); in ParseLambdaIntroducer()
986 Parens.consumeClose(); in ParseLambdaIntroducer()
987 Init = Actions.ActOnParenListExpr(Parens.getOpenLocation(), in ParseLambdaIntroducer()
988 Parens.getCloseLocation(), in ParseLambdaIntroducer()
3388 BalancedDelimiterTracker Parens(*this, tok::l_paren); in ParseRequiresExpression() local
3389 Parens.consumeOpen(); in ParseRequiresExpression()
3402 Parens.consumeClose(); in ParseRequiresExpression()
[all …]
DParsePragma.cpp1313 BalancedDelimiterTracker Parens(*this, tok::l_paren); in ParsePragmaAttributeSubjectMatchRuleSet() local
1315 if (Parens.expectAndConsume()) in ParsePragmaAttributeSubjectMatchRuleSet()
1317 } else if (Parens.consumeOpen()) { in ParsePragmaAttributeSubjectMatchRuleSet()
1340 BalancedDelimiterTracker Parens(*this, tok::l_paren); in ParsePragmaAttributeSubjectMatchRuleSet() local
1341 if (Parens.expectAndConsume()) in ParsePragmaAttributeSubjectMatchRuleSet()
1358 if (Parens.consumeClose()) in ParsePragmaAttributeSubjectMatchRuleSet()
1372 if (Parens.consumeClose()) in ParsePragmaAttributeSubjectMatchRuleSet()
DParseExpr.cpp3633 BalancedDelimiterTracker Parens(*this, tok::l_paren); in ParseAvailabilityCheckExpr() local
3634 if (Parens.expectAndConsume()) in ParseAvailabilityCheckExpr()
3657 if (Parens.consumeClose()) in ParseAvailabilityCheckExpr()
3661 Parens.getCloseLocation()); in ParseAvailabilityCheckExpr()
DParseDecl.cpp309 BalancedDelimiterTracker Parens(*this, tok::l_paren); in ParseAttributeWithTypeArg() local
310 Parens.consumeOpen(); in ParseAttributeWithTypeArg()
316 if (Parens.consumeClose()) in ParseAttributeWithTypeArg()
324 SourceRange(AttrNameLoc, Parens.getCloseLocation()), in ParseAttributeWithTypeArg()
327 Attrs.addNew(&AttrName, SourceRange(AttrNameLoc, Parens.getCloseLocation()), in ParseAttributeWithTypeArg()
/external/clang/lib/Parse/
DParseExprCXX.cpp890 BalancedDelimiterTracker Parens(*this, tok::l_paren); in ParseLambdaIntroducer() local
891 Parens.consumeOpen(); in ParseLambdaIntroducer()
898 Parens.skipToEnd(); in ParseLambdaIntroducer()
901 Parens.skipToEnd(); in ParseLambdaIntroducer()
904 Parens.consumeClose(); in ParseLambdaIntroducer()
905 Init = Actions.ActOnParenListExpr(Parens.getOpenLocation(), in ParseLambdaIntroducer()
906 Parens.getCloseLocation(), in ParseLambdaIntroducer()
2982 BalancedDelimiterTracker Parens(*this, tok::l_paren); in ParseTypeTrait() local
2983 if (Parens.expectAndConsume()) in ParseTypeTrait()
2991 Parens.skipToEnd(); in ParseTypeTrait()
[all …]
DParseDecl.cpp249 BalancedDelimiterTracker Parens(*this, tok::l_paren); in ParseAttributeWithTypeArg() local
250 Parens.consumeOpen(); in ParseAttributeWithTypeArg()
256 if (Parens.consumeClose()) in ParseAttributeWithTypeArg()
264 SourceRange(AttrNameLoc, Parens.getCloseLocation()), in ParseAttributeWithTypeArg()
267 Attrs.addNew(&AttrName, SourceRange(AttrNameLoc, Parens.getCloseLocation()), in ParseAttributeWithTypeArg()
/external/clang/lib/Sema/
DSemaCast.cpp239 SourceRange AngleBrackets, SourceRange Parens) { in BuildCXXNamedCast() argument
248 Op.OpRange = SourceRange(OpLoc, Parens.getEnd()); in BuildCXXNamedCast()
262 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
274 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
286 Parens.getEnd(), in BuildCXXNamedCast()
299 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
DTreeTransform.h3241 SourceRange Parens = VIE->getSourceRange(); in TransformInitializer() local
3242 return getDerived().RebuildParenListExpr(Parens.getBegin(), None, in TransformInitializer()
3243 Parens.getEnd()); in TransformInitializer()
3274 SourceRange Parens = Construct->getParenOrBraceRange(); in TransformInitializer() local
3275 if (Parens.isInvalid()) { in TransformInitializer()
3282 return getDerived().RebuildParenListExpr(Parens.getBegin(), NewArgs, in TransformInitializer()
3283 Parens.getEnd()); in TransformInitializer()
DSemaTemplate.cpp4534 while (ParenExpr *Parens = dyn_cast<ParenExpr>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
4544 Arg = Parens->getSubExpr(); in CheckTemplateArgumentAddressOfObjectOrFunction()
4813 while (ParenExpr *Parens = dyn_cast<ParenExpr>(Arg)) { in CheckTemplateArgumentPointerToMember() local
4823 Arg = Parens->getSubExpr(); in CheckTemplateArgumentPointerToMember()
DSemaType.cpp5623 Parens, enumerator
5642 Stack.push_back(Parens); in FunctionTypeUnwrapper()
5709 case Parens: { in wrap()
/external/llvm-project/clang/lib/Sema/
DSemaCast.cpp288 SourceRange AngleBrackets, SourceRange Parens) { in BuildCXXNamedCast() argument
297 Op.OpRange = SourceRange(OpLoc, Parens.getEnd()); in BuildCXXNamedCast()
311 DestTInfo, OpLoc, Parens.getEnd(), AngleBrackets)); in BuildCXXNamedCast()
322 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
340 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
353 Parens.getEnd(), in BuildCXXNamedCast()
367 Parens.getEnd(), AngleBrackets)); in BuildCXXNamedCast()
DTreeTransform.h3757 SourceRange Parens = VIE->getSourceRange(); in TransformInitializer() local
3758 return getDerived().RebuildParenListExpr(Parens.getBegin(), None, in TransformInitializer()
3759 Parens.getEnd()); in TransformInitializer()
3794 SourceRange Parens = Construct->getParenOrBraceRange(); in TransformInitializer() local
3795 if (Parens.isInvalid()) { in TransformInitializer()
3802 return getDerived().RebuildParenListExpr(Parens.getBegin(), NewArgs, in TransformInitializer()
3803 Parens.getEnd()); in TransformInitializer()
DSemaTemplate.cpp6476 while (ParenExpr *Parens = dyn_cast<ParenExpr>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
6486 Arg = Parens->getSubExpr(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6692 while (ParenExpr *Parens = dyn_cast<ParenExpr>(Arg)) { in CheckTemplateArgumentPointerToMember() local
6702 Arg = Parens->getSubExpr(); in CheckTemplateArgumentPointerToMember()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DMicrosoftDemangleNodes.h141 Parens, // ?R operator() enumerator
/external/llvm-project/llvm/include/llvm/Demangle/
DMicrosoftDemangleNodes.h141 Parens, // ?R operator() enumerator
/external/llvm-project/llvm/lib/Demangle/
DMicrosoftDemangleNodes.cpp277 OUTPUT_ENUM_CLASS_VALUE(IntrinsicFunctionKind, Parens, "operator()"); in output()
DMicrosoftDemangle.cpp565 IFK::Parens, // ?R operator() in translateIntrinsicFunctionCode()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
DMicrosoftDemangleNodes.cpp277 OUTPUT_ENUM_CLASS_VALUE(IntrinsicFunctionKind, Parens, "operator()"); in output()
DMicrosoftDemangle.cpp565 IFK::Parens, // ?R operator() in translateIntrinsicFunctionCode()
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/
DAddConstTest.cpp219 TEST(Values, Parens) { in TEST() argument
433 TEST(Pointers, Parens) { in TEST() argument
/external/python/cpython2/Lib/idlelib/
Dhelp.txt51 Show Parens -- Highlight the surrounding parenthesis

12