Home
last modified time | relevance | path

Searched refs:expressions (Results 1 – 1 of 1) sorted by relevance

/bionic/tools/versioner/src/
DPreprocessor.cpp140 std::vector<std::string> expressions; in generateGuardCondition() local
209 expressions.emplace_back(generate_guard(arch_expr, version)); in generateGuardCondition()
211 D(" Generated expression '%s'\n", expressions.rbegin()->c_str()); in generateGuardCondition()
225 expressions.emplace_back(arch_expr); in generateGuardCondition()
227 expressions.emplace_back(generate_guard(arch_expr, introduced)); in generateGuardCondition()
231 if (expressions.size() == 0) { in generateGuardCondition()
233 } else if (expressions.size() == 1) { in generateGuardCondition()
234 return expressions[0]; in generateGuardCondition()
237 return "("s + Join(expressions, ") || (") + ")"; in generateGuardCondition()