UsefulLinks
Computer Science
Programming
Clang Tooling
1. Introduction to Clang and LLVM
2. Clang Tooling Fundamentals
3. Core Compilation Concepts
4. Abstract Syntax Tree
5. Source Code Management
6. Project Setup and Configuration
7. LibTooling Framework
8. AST Navigation Techniques
9. Source Code Modification
10. LibClang Interface
11. Standard Clang Tools
12. Custom clang-tidy Development
13. Advanced Topics
8.
AST Navigation Techniques
8.1.
Recursive AST Visitor
8.1.1.
Visitor Pattern Implementation
8.1.2.
Method Override Patterns
8.1.3.
Traversal Control
8.1.4.
State Management
8.1.5.
Context Tracking
8.1.6.
Visit Methods
8.1.6.1.
Declaration Visitors
8.1.6.2.
Statement Visitors
8.1.6.3.
Expression Visitors
8.1.6.4.
Type Visitors
8.2.
AST Matchers Framework
8.2.1.
Declarative Matching Concepts
8.2.2.
Matcher DSL Syntax
8.2.3.
Node Matchers
8.2.3.1.
Declaration Matchers
8.2.3.2.
Statement Matchers
8.2.3.3.
Expression Matchers
8.2.3.4.
Type Matchers
8.2.4.
Narrowing Matchers
8.2.4.1.
Name-based Matching
8.2.4.2.
Type-based Matching
8.2.4.3.
Property-based Matching
8.2.5.
Traversal Matchers
8.2.5.1.
Descendant Matching
8.2.5.2.
Ancestor Matching
8.2.5.3.
Sibling Matching
8.2.6.
Node Binding
8.2.6.1.
Bind Syntax
8.2.6.2.
Identifier Management
8.2.6.3.
Result Retrieval
8.2.7.
MatchFinder Usage
8.2.7.1.
Matcher Registration
8.2.7.2.
Callback Implementation
8.2.7.3.
Result Processing
Previous
7. LibTooling Framework
Go to top
Next
9. Source Code Modification