[flang] Change capitalization for Adjustl/r
authorDiana Picus <diana.picus@linaro.org>
Mon, 31 May 2021 08:51:11 +0000 (08:51 +0000)
committerDiana Picus <diana.picus@linaro.org>
Fri, 4 Jun 2021 08:34:53 +0000 (08:34 +0000)
commit263a89c9b788b4c6bc174dc169dca2a3b729ea02
tree5d0f7747cdea08fc3cda79997b8c455431314c8e
parentfbfd717197671769e92b1c00b08391a7cac62fed
[flang] Change capitalization for Adjustl/r

Rename the definitions of the character runtime functions Adjustl and
Adjustr (used to be AdjustL and AdjustR respectively).

Also add unit tests (and move some of the helpers to the top of the
file, since they're now used in more than one place).

Differential Revision: https://reviews.llvm.org/D103392
flang/runtime/character.cpp
flang/unittests/RuntimeGTest/CharacterTest.cpp