Lines Matching refs:macroName
36 static std::string macroName(std::string S) { in macroName() function in __anond4816a0e0111::ClangASTNodesEmitter
76 std::string BaseName = macroName(Base->getName()); in EmitNode()
89 std::string NodeName = macroName(R->getName()); in EmitNode()
97 OS << "ABSTRACT_" << macroName(Root.getName()) << "(" << NodeName << "(" 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()
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()