Post-std::string clean up moving an unnecessarily inline function out of line (#3498)

* chore(cxx_indexer): move unnecessarily inline function out of line

* chore(cxx_indexer): add missing copyright header
3 files changed