Branch: reference-cleanup
Revision: c3e679d3bf5ec0f49746969a7975418391f66f62
Author: jabraham17
Link: Clean up visibleFunctions to use C++ references by jabraham17 · Pull Request #29542 · chapel-lang/chapel · GitHub
Log Message:
Clean up visibleFunctions to use C++ references
Cleans up the compiler code for visibleFunctions to use C++ references where possible
This avoid copies in come cases and in other cases just cleans up the code to avoid pass-by-raw-pointer
[Reviewed by @benharsh]
Diff:
M compiler/AST/ImportStmt.cpp
M compiler/AST/UseStmt.cpp
M compiler/include/ImportStmt.h
M compiler/include/UseStmt.h
M compiler/include/vec.h
M compiler/include/visibleFunctions.h
M compiler/resolution/caches.cpp
M compiler/resolution/callInfo.cpp
M compiler/resolution/callInfo.h
M compiler/resolution/visibleFunctions.cpp
https://github.com/chapel-lang/chapel/pull/29542.diff