https://github.com/gigaroby updated
https://github.com/llvm/llvm-project/pull/84346
>From f65709e2a353fa19919df291d6c3a60f5e1d1bd4 Mon Sep 17 00:00:00 2001
From: Roberto Bampi
Date: Thu, 7 Mar 2024 18:10:56 +0100
Subject: [PATCH 1/2] [clang-format] Add --fail-on-incomplete-format.
At the momen
gigaroby wrote:
> > I think you need to run `clang/docs/tools/dump_format_help.py`.
Done.
https://github.com/llvm/llvm-project/pull/84346
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
https://github.com/gigaroby updated
https://github.com/llvm/llvm-project/pull/84346
>From ee4f8f1c4abaa20d4eedd3451fd96f3306990d0e Mon Sep 17 00:00:00 2001
From: Roberto Bampi
Date: Thu, 7 Mar 2024 18:10:56 +0100
Subject: [PATCH 1/2] [clang-format] Add --fail-on-incomplete-format.
At the momen
gigaroby wrote:
> Can you add lit test cases?
Done.
https://github.com/llvm/llvm-project/pull/84346
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
gigaroby wrote:
I think the documentation failure is related to
https://github.com/llvm/llvm-project/commit/0c423af59c971ddf1aa12d94529edf8293608157
but I might be wrong.
https://github.com/llvm/llvm-project/pull/84346
___
cfe-commits mailing list
cf
https://github.com/gigaroby updated
https://github.com/llvm/llvm-project/pull/84346
>From e19f49ca2660cbcd64fb81aae0428e899d61cac6 Mon Sep 17 00:00:00 2001
From: Roberto Bampi
Date: Thu, 7 Mar 2024 18:10:56 +0100
Subject: [PATCH 1/2] [clang-format] Add --fail-on-incomplete-format.
At the momen
@@ -0,0 +1,5 @@
+// RUN: cat %s | not clang-format --fail-on-incomplete-format | FileCheck %s
+// RUN: cat %s | clang-format | FileCheck %s
+int a([) {}
+
+// CHECK: int a([) {}
gigaroby wrote:
> It's missing the EOF. Also, use a single hyphen for the option like
https://github.com/gigaroby created
https://github.com/llvm/llvm-project/pull/84346
At the moment clang-format will return exit code 0 on incomplete results. In
scripts it would sometimes be useful if clang-format would instead fail in
those cases, signalling that there was something wrong wit
https://github.com/gigaroby updated
https://github.com/llvm/llvm-project/pull/84346
>From 4b0ef9a83db7f8309ea0d8f79fabbfbad50ae6f8 Mon Sep 17 00:00:00 2001
From: Roberto Bampi
Date: Thu, 7 Mar 2024 18:10:56 +0100
Subject: [PATCH] [clang-format] Add --fail-on-incomplete-format.
At the moment cl
https://github.com/gigaroby updated
https://github.com/llvm/llvm-project/pull/84346
>From 4b0ef9a83db7f8309ea0d8f79fabbfbad50ae6f8 Mon Sep 17 00:00:00 2001
From: Roberto Bampi
Date: Thu, 7 Mar 2024 18:10:56 +0100
Subject: [PATCH 1/2] [clang-format] Add --fail-on-incomplete-format.
At the momen
https://github.com/gigaroby updated
https://github.com/llvm/llvm-project/pull/84346
>From 16d2b76c9c39dc0ae5cc6ddb1809e6326624cdde Mon Sep 17 00:00:00 2001
From: Roberto Bampi
Date: Thu, 7 Mar 2024 18:10:56 +0100
Subject: [PATCH 1/2] [clang-format] Add --fail-on-incomplete-format.
At the momen
11 matches
Mail list logo