[clang] 0dc4dfa - [clang-format] Add InsertBraces to operator== in Format.h

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 22 02:29:45 PST 2022


Author: Owen Pan
Date: 2022-12-22T02:28:25-08:00
New Revision: 0dc4dfabd748ba3bc4d968a88104c686c388f177

URL: https://github.com/llvm/llvm-project/commit/0dc4dfabd748ba3bc4d968a88104c686c388f177
DIFF: https://github.com/llvm/llvm-project/commit/0dc4dfabd748ba3bc4d968a88104c686c388f177.diff

LOG: [clang-format] Add InsertBraces to operator== 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 8b11ae662c70..8949520f87b0 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/include/clang/Format/Format.h
@@ -4088,6 +4088,7 @@ struct FormatStyle {
            IndentRequiresClause == R.IndentRequiresClause &&
            IndentWidth == R.IndentWidth &&
            IndentWrappedFunctionNames == R.IndentWrappedFunctionNames &&
+           InsertBraces == R.InsertBraces &&
            JavaImportGroups == R.JavaImportGroups &&
            JavaScriptQuotes == R.JavaScriptQuotes &&
            JavaScriptWrapImports == R.JavaScriptWrapImports &&


        


More information about the cfe-commits mailing list