clang
9.0.0
|
Functions | |
template<typename... Ts> | |
Stencil | cat (Ts &&... Parts) |
Convenience wrapper for Stencil::cat that can be imported with a using decl. More... | |
StencilPart | text (llvm::StringRef Text) |
StencilPart | selection (RangeSelector Selector) |
StencilPart | node (llvm::StringRef Id) |
StencilPart | sNode (llvm::StringRef Id) |
Variant of node() that identifies the node as a statement, for purposes of deciding whether to include any trailing semicolon. More... | |
StencilPart | dPrint (llvm::StringRef Id) |
For debug use only; semantics are not guaranteed. More... | |
Stencil clang::tooling::stencil::cat | ( | Ts &&... | Parts | ) |
Convenience wrapper for Stencil::cat that can be imported with a using decl.
Definition at line 140 of file Stencil.h.
References clang::tooling::Stencil::cat(), selection(), clang::tooling::text(), and Text.
Referenced by clang::tooling::ArgumentsAdjustingCompilations::getAllCompileCommands(), clang::ASTContext::getVariableArrayDecayedType(), and clang::DiagnosticIDs::isARCDiagnostic().
StencilPart clang::tooling::stencil::dPrint | ( | llvm::StringRef | Id | ) |
For debug use only; semantics are not guaranteed.
Referenced by selection(), and sNode().
|
inline |
selection(node(Id))
instead. Definition at line 152 of file Stencil.h.
References clang::tooling::node(), and selection().
StencilPart clang::tooling::stencil::selection | ( | RangeSelector | Selector | ) |
Definition at line 169 of file Stencil.cpp.
Referenced by cat(), StencilPartImpl< T >::isEqual(), node(), and sNode().
|
inline |
Variant of node()
that identifies the node as a statement, for purposes of deciding whether to include any trailing semicolon.
Only relevant for Expr nodes, which, by default, are not considered as statements.
selection(statement(Id))
instead. Definition at line 162 of file Stencil.h.
References dPrint(), Id, selection(), and clang::tooling::statement().
StencilPart clang::tooling::stencil::text | ( | llvm::StringRef | Text | ) |
Referenced by clang::tooling::Stencil::eval(), and StencilPartImpl< T >::isEqual().