swift
f7bbbbee - [ast] Add an asserts only option that causes the AST printer to print out an increasing ID for all suppressed statements.

Commit
1 year ago
[ast] Add an asserts only option that causes the AST printer to print out an increasing ID for all suppressed statements. I am using this to better test out suppression statements. I am finding that FileCheck runs into issues with some of the '#if' lines I am trying to match. I am able to use this option with my asserts only test to uniquely identify a '#if ...' statement and thus have the pattern matching work. I needed this to get the test in the next commit to pass testing.
Author
Committer
Parents
Loading