This is a roll-forward of D90238 originally implemented by @mrexodia and
@catskul
This introduces ReferenceAlignment style option modeled around
PointerAlignment.
Style implementors can specify Left, Right, Middle or Pointer to
follow whatever the PointerAlignment option specifies.
Changes since D90238:
- Added tests for ref-qualified functions
- Reorganized the newly introduced TEST_F so pure LLVM style tests come first
- Removed ReferenceAlignment assignements in LLVM derived styles (now only the LLVM style specifies RAS_Pointer)
- Split the getTokenPointerAlignment helper in getTokenReferenceAlignment and getTokenPointerOrReferenceAlignment
- Test clang-format by running unittests and reformatting the entire compiler-rt tree
nice catch!