Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Thank you for the documentation effort!
clang/docs/LibASTMatchersReference.html | ||
---|---|---|
531 | I think this section should go above the Node Matchers section in the document so that Node Matchers stays directly above the table of node matchers. | |
535 | Can you add <pre> tags around AsIs and IgnoreUnlessSpelledInSource to make it clear that these are sort of syntactic constructs rather than prose? | |
536–538 | Rather than say the default mode is hard to use correctly, how about: This mode requires writing AST matchers that explicitly traverse or ignore implicit nodes, such as parentheses surrounding an expression or expressions with cleanups. These implicit nodes are not always obvious from the syntax of the source code, and so this mode requires careful consideration and testing to get the desired behavior from an AST matcher. | |
547 | familiar with the AST -> familiar with where implicit nodes appear in the AST | |
559 | <pre> tags around traverse() | |
584 | Should we consistently switch this style to: struct B { to save on some vertical whitespace (it doesn't impact all of the rows, but will help in some cases)? | |
719 | How about switching the exclamation points into full stops (here and elsewhere)? | |
734 | Backticks won't help here -- should probably use <pre> tags. | |
743–749 | Some more potential places for vertical whitespace savings. Actually, would it be too onerous to ask you to run all of the code snippets through clang-format with the LLVM style so that they're consistently formatted and trims some of the vertical whitespace? | |
787 | Could use some <pre> tags around the code constructs. |
clang/docs/LibASTMatchersReference.html | ||
---|---|---|
734 | pre is equivalent to three backticks. I added a span for use within paragraphs. |
clang/docs/LibASTMatchersReference.html | ||
---|---|---|
91–94 | Oops, that's what I was trying to do, but accidentally left the previous stuff behind. Gone now. |
I was trying to reword this to avoid making a judgmental statement that the default mode is hard to use correctly -- I'd strike this part of the paragraph. WDYT?