[all-commits] [llvm/llvm-project] 1f8602: [clang] NFC: remove superfluous braces

Zhouyi Zhou via All-commits all-commits at lists.llvm.org
Tue Aug 24 00:43:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f8602e16eac3f116249c07303c68e479db1507a
      https://github.com/llvm/llvm-project/commit/1f8602e16eac3f116249c07303c68e479db1507a
  Author: Zhouyi Zhou <zhouzhouyi at gmail.com>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp

  Log Message:
  -----------
  [clang] NFC: remove superfluous braces

In commit 9bb33f572f7609d469d3a505c9987b83eac5b78c, a pair of superfluous braces are introduced to the function Sema::BuildDeclarationNameExpr.
This patch tries to remove the superfluous braces. Also use clang-format to further beautify the above function.

Reviewed By: rjmccall

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




More information about the All-commits mailing list