| 1260 | } |
| 1261 | |
| 1262 | static BuiltinLibraryFunction getBuiltinLibraryFunction(const std::string& name) |
| 1263 | { |
| 1264 | static const std::unordered_map<std::string, BuiltinLibraryFunction> functions = createBuiltinLibraryFunctions(); |
| 1265 | auto it = functions.find(name); |
| 1266 | if (it == functions.end()) |
| 1267 | return nullptr; |
| 1268 | return it->second; |
| 1269 | } |
| 1270 | static bool TokenExprIdCompare(const Token* tok1, const Token* tok2) { |
| 1271 | return tok1->exprId() < tok2->exprId(); |
| 1272 | } |
no test coverage detected