refactor: Rename velox casting utilities to camelCase convention #333
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
Renamed three function templates in velox's casting utilities to follow the camelCase naming convention:
checked_pointer_cast→checkedPointerCaststatic_unique_pointer_cast→staticUniquePointerCastis_instance_of→isInstanceOfThis change affects the function definitions in
/data/users/ericjjj/fbsource/fbcode/velox/common/Casts.hand all call sites within the velox codebase and related projects that use velox namespaced functions.Files updated:
velox/common/Casts.hcore/PlanNode.cpp,exec/Exchange.cpp,exec/Task.cpp,common/memory/MemoryPool.cpp,tool/trace/TopNRowNumberReplayer.cppvelox/common/testutil/tests/CastsTest.cpp- updated all test casesfacebook::velox::namespace prefix (8 files)This refactoring improves consistency with velox's naming conventions while maintaining backward compatibility with external codebases that use their own implementations.
Differential Revision: D87806227