Comparing CodeIntelligenceTesting:afb09e3...google:5a34633 · CodeIntelligenceTesting/cel-cpp
Commits on Mar 11, 2026
-
Update checker to treat gp.NullValue as an int constant.
Makes the C++ checker behave more consistent with cel-go and cel-java. Direct references to google.protobuf.NullValue should behave as an enum/int, but google.protobuf.Value{} with null_value alternative active behaves as CEL null. PiperOrigin-RevId: 882134119
Commits on Mar 23, 2026
-
Simplify recursive planning limit checks.
Instead of trying to wrap a recursive subprogram in a stack machine step, the planner fails if the limit is exceeded. This simplifies program planning and avoids high overhead in deep but unbalanced ASTs. PiperOrigin-RevId: 888254034
Commits on Mar 25, 2026
-
Add planner support for checking runtime extensions in the AST.
Introduces check_ast_extensions to extract and validate runtime-affecting extensions from the SourceInfo. Currently, flat_expr_builder returns an error if any runtime extensions are present, as support is not yet implemented. Fixes ExtensionSpec copy constructor and assignment to correctly handle null version_. PiperOrigin-RevId: 888974129
Commits on Mar 27, 2026
-
Add option for format precision limit.
High values for precision can lead to very large strings (exponential time / memory cost w.r.t format specifier), but are technically allowed. Will lower the default value in a follow-up. PiperOrigin-RevId: 890649934