[clang] [lldb] [clang] Add -ast-dump-filter-path to filter AST dump by file path (PR #194266)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 2 06:27:50 PDT 2026


================
@@ -229,6 +229,11 @@ features cannot lower the translation-unit ABI level;
   path share one module cache, and is only sound when no module needs the path
   -- a lookup that would have resolved through an ignored path simply fails.
 
+- Added a new `-ast-dump-filter-path` option to filter AST dump output
+  based on the source file path of declarations. The filter uses glob-style
+  matching on the presumed source location (accounting for macro expansions
+  and `#line` directives).
----------------
AaronBallman wrote:

```suggestion
  and `#line` directives). (#GH194210)
```
This will link the release note to the issue being resolved.

https://github.com/llvm/llvm-project/pull/194266


More information about the cfe-commits mailing list