clang  10.0.0git
Classes | Enumerations | Functions
clang::ast_type_traits Namespace Reference

Classes

class  ASTNodeKind
 Kind identifier. More...
 
class  DynTypedNode
 A dynamically typed AST node container. More...
 

Enumerations

enum  TraversalKind { TK_AsIs, TK_IgnoreImplicitCastsAndParentheses, TK_IgnoreUnlessSpelledInSource }
 Defines how we descend a level in the AST when we pass through expressions. More...
 

Functions

raw_ostream & operator<< (raw_ostream &OS, ASTNodeKind K)
 

Enumeration Type Documentation

◆ TraversalKind

Defines how we descend a level in the AST when we pass through expressions.

Enumerator
TK_AsIs 

Will traverse all child nodes.

TK_IgnoreImplicitCastsAndParentheses 

Will not traverse implicit casts and parentheses.

Corresponds to Expr::IgnoreParenImpCasts()

TK_IgnoreUnlessSpelledInSource 

Ignore AST nodes not written in the source.

Definition at line 40 of file ASTTypeTraits.h.

Function Documentation

◆ operator<<()

raw_ostream& clang::ast_type_traits::operator<< ( raw_ostream &  OS,
ASTNodeKind  K 
)
inline