mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
fdf9cfd320
ExpressionId FindMatchingEndif(ExpressionId id) - Finds the closing ENDIF expression for a given IF expression. ExpressionId FindMatchingElse(ExpressionId id) - Finds the ELSE expression for a given IF expression. - Returns -1, if this IF doesn't have an else This patch is a preparation to the code analyzing required for various optimization passes. Change-Id: I893102a757c6a0bcacbcc1190c2b8ef08314eb97