[all-commits] [llvm/llvm-project] e6ec7a: NFC: TreeTransform.h: make the function TransformN...

zhouzhouyi-hub via All-commits all-commits at lists.llvm.org
Fri May 21 03:28:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6ec7ab5820f85016ece401bd49db12837d0715d
      https://github.com/llvm/llvm-project/commit/e6ec7ab5820f85016ece401bd49db12837d0715d
  Author: Zhouyi Zhou <zhouzhouyi at gmail.com>
  Date:   2021-05-21 (Fri, 21 May 2021)

  Changed paths:
    M clang/lib/Sema/TreeTransform.h

  Log Message:
  -----------
  NFC: TreeTransform.h: make the function TransformNestedNameSpecifierLoc more beautiful

Hi,
I am new to LLVM, and I really want to get involved in LLVM community.

I guess if the following switch case of function
TransformNestedNameSpecifierLoc could possibly made more beautiful with
'break' stmt moved inside of the right brace.

I think move of 'break' stmt will not change the invoking destructor of
IdInfo.

Thanks for your effort.

I have done make check-all on x86_64-linux
Signed-off-by: Zhouyi Zhou <zhouzhouyi at gmail.com>

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D102577




More information about the All-commits mailing list