Searched refs:DoAddChild (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DTextNodeDumper.h46 /// Add a child of the current node. Calls DoAddChild without arguments
47 template <typename Fn> void AddChild(Fn DoAddChild) { argument
48 return AddChild("", DoAddChild);
52 /// Calls DoAddChild without arguments.
53 template <typename Fn> void AddChild(StringRef Label, Fn DoAddChild) { argument
58 DoAddChild();
72 auto DumpWithIndent = [this, DoAddChild, LabelStr](bool IsLastChild) {
99 DoAddChild();
H A DJSONNodeDumper.h39 /// Add a child of the current node. Calls DoAddChild without arguments
40 template <typename Fn> void AddChild(Fn DoAddChild) { argument
41 return AddChild("", DoAddChild);
45 /// Calls DoAddChild without arguments.
46 template <typename Fn> void AddChild(StringRef Label, Fn DoAddChild) { argument
53 DoAddChild();
79 DoAddChild();

Completed in 239 milliseconds