[PATCH] D141925: [ASTMatchers] Add `isDirectInit` matcher.

2023-01-23 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added a comment. In D141925#4073405 , @courbet wrote: > In D141925#4073385 , @aaron.ballman > wrote: > >> You also need to add the new matcher to Registry.cpp so it's usable from the >> dynamic mat

[PATCH] D141925: [ASTMatchers] Add `isDirectInit` matcher.

2023-01-23 Thread Clement Courbet via Phabricator via cfe-commits
courbet updated this revision to Diff 491348. courbet added a comment. add matcher to registry and add release note Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D141925/new/ https://reviews.llvm.org/D141925 Files: clang/docs/LibASTMatchersRefere

[PATCH] D141925: [ASTMatchers] Add `isDirectInit` matcher.

2023-01-23 Thread Clement Courbet via Phabricator via cfe-commits
courbet added a comment. In D141925#4073385 , @aaron.ballman wrote: > You also need to add the new matcher to Registry.cpp so it's usable from the > dynamic matchers, and you should add a release note for the new matcher. Thanks, will do. > (We don't

[PATCH] D141925: [ASTMatchers] Add `isDirectInit` matcher.

2023-01-23 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added a comment. You also need to add the new matcher to Registry.cpp so it's usable from the dynamic matchers, and you should add a release note for the new matcher. Are you planning to use this matcher in-tree for something? (We don't usually add new matchers until there's a nee

[PATCH] D141925: [ASTMatchers] Add `isDirectInit` matcher.

2023-01-23 Thread Clement Courbet via Phabricator via cfe-commits
courbet added a comment. Herald added a subscriber: ChuanqiXu. ping Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D141925/new/ https://reviews.llvm.org/D141925 ___ cfe-commits mailing list cfe-commits@lis

[PATCH] D141925: [ASTMatchers] Add `isDirectInit` matcher.

2023-01-17 Thread Clement Courbet via Phabricator via cfe-commits
courbet updated this revision to Diff 489796. courbet added a comment. Regenerate doc Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D141925/new/ https://reviews.llvm.org/D141925 Files: clang/docs/LibASTMatchersReference.html clang/include/clang

[PATCH] D141925: [ASTMatchers] Add `isDirectInit` matcher.

2023-01-17 Thread Clement Courbet via Phabricator via cfe-commits
courbet updated this revision to Diff 489794. courbet added a comment. fix doc Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D141925/new/ https://reviews.llvm.org/D141925 Files: clang/include/clang/ASTMatchers/ASTMatchers.h clang/unittests/ASTM

[PATCH] D141925: [ASTMatchers] Add `isDirectInit` matcher.

2023-01-17 Thread Clement Courbet via Phabricator via cfe-commits
courbet updated this revision to Diff 489790. courbet added a comment. fix ddoc Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D141925/new/ https://reviews.llvm.org/D141925 Files: clang/include/clang/ASTMatchers/ASTMatchers.h clang/unittests/AST

[PATCH] D141925: [ASTMatchers] Add `isDirectInit` matcher.

2023-01-17 Thread Clement Courbet via Phabricator via cfe-commits
courbet created this revision. courbet added reviewers: hokein, alexfh. Herald added a project: All. courbet requested review of this revision. Herald added a project: clang. To match variables that are direct-initialized. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D141925