[clang] 04f14e4 - [clang-format] Remove repeated `TabWidth` in Format.h

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 23 21:47:18 PDT 2024


Author: Owen Pan
Date: 2024-10-23T21:47:11-07:00
New Revision: 04f14e4d652a344fedea6de8df532e88a652bcc4

URL: https://github.com/llvm/llvm-project/commit/04f14e4d652a344fedea6de8df532e88a652bcc4
DIFF: https://github.com/llvm/llvm-project/commit/04f14e4d652a344fedea6de8df532e88a652bcc4.diff

LOG: [clang-format] Remove repeated `TabWidth` in Format.h

Added: 
    

Modified: 
    clang/include/clang/Format/Format.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h
index a5fd7750c20b93..c9b72e65cb236d 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/include/clang/Format/Format.h
@@ -5308,8 +5308,8 @@ struct FormatStyle {
                R.TableGenBreakingDAGArgOperators &&
            TableGenBreakInsideDAGArg == R.TableGenBreakInsideDAGArg &&
            TabWidth == R.TabWidth && TemplateNames == R.TemplateNames &&
-           TabWidth == R.TabWidth && TypeNames == R.TypeNames &&
-           TypenameMacros == R.TypenameMacros && UseTab == R.UseTab &&
+           TypeNames == R.TypeNames && TypenameMacros == R.TypenameMacros &&
+           UseTab == R.UseTab &&
            VerilogBreakBetweenInstancePorts ==
                R.VerilogBreakBetweenInstancePorts &&
            WhitespaceSensitiveMacros == R.WhitespaceSensitiveMacros;


        


More information about the cfe-commits mailing list