File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -364,9 +364,8 @@ static json::Value extractValue(const EnumInfo &I,
364
364
Object Obj = Object ();
365
365
std::string EnumType = I.Scoped ? " enum class " : " enum " ;
366
366
EnumType += I.Name ;
367
- bool HasComment = std::any_of (
368
- I.Members .begin (), I.Members .end (),
369
- [](const EnumValueInfo &M) { return !M.Description .empty (); });
367
+ bool HasComment = llvm::any_of (
368
+ I.Members , [](const EnumValueInfo &M) { return !M.Description .empty (); });
370
369
Obj.insert ({" EnumName" , EnumType});
371
370
Obj.insert ({" HasComment" , HasComment});
372
371
Obj.insert ({" ID" , toHex (toStringRef (I.USR ))});
Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ AST_MATCHER(BinaryOperator,
34
34
35
35
AST_MATCHER (CXXOperatorCallExpr,
36
36
hasCppOperatorAChildComparisonOperatorWithoutParen) {
37
- return std::any_of (Node.arg_begin (), Node.arg_end (),
38
- isExprAComparisonOperator);
37
+ return llvm::any_of (Node.arguments (), isExprAComparisonOperator);
39
38
}
40
39
41
40
struct ChainedComparisonData {
You can’t perform that action at this time.
0 commit comments