Lines Matching refs:Root
32 Record Root; member in __anon8bcd19e70111::ClangASTNodesEmitter
47 if (&R == &Root && !BaseSuffix.empty()) in baseName()
58 : Records(R), Root(N, SMLoc(), R), BaseSuffix(S) in ClangASTNodesEmitter()
97 OS << "ABSTRACT_" << macroName(Root.getName()) << "(" << NodeName << "(" in EmitNode()
124 if (Base == &Root) in EmitNode()
125 OS << "LAST_" << macroName(Root.getName()) << "_RANGE("; in EmitNode()
127 OS << macroName(Root.getName()) << "_RANGE("; in EmitNode()
139 OS << "#ifndef ABSTRACT_" << macroName(Root.getName()) << "\n"; in run()
140 OS << "# define ABSTRACT_" << macroName(Root.getName()) << "(Type) Type\n"; in run()
143 OS << "#ifndef " << macroName(Root.getName()) << "_RANGE\n"; in run()
145 << macroName(Root.getName()) << "_RANGE(Base, First, Last)\n"; in run()
148 OS << "#ifndef LAST_" << macroName(Root.getName()) << "_RANGE\n"; in run()
150 << macroName(Root.getName()) << "_RANGE(Base, First, Last) " in run()
151 << macroName(Root.getName()) << "_RANGE(Base, First, Last)\n"; in run()
156 = Records.getAllDerivedDefinitions(Root.getName()); in run()
166 Tree.insert(std::make_pair(&Root, R)); in run()
169 EmitNode(Tree, OS, &Root); in run()
171 OS << "#undef " << macroName(Root.getName()) << "\n"; in run()
172 OS << "#undef " << macroName(Root.getName()) << "_RANGE\n"; in run()
173 OS << "#undef LAST_" << macroName(Root.getName()) << "_RANGE\n"; in run()
174 OS << "#undef ABSTRACT_" << macroName(Root.getName()) << "\n"; in run()