[clang] [clang-format] Fix a bug in annotating CastRParen (PR #102261)

2024-08-28 Thread Krasimir Georgiev via cfe-commits
krasimirgg wrote: Ohh sorry, I had started with a stale clang-format commit. This is a non-issue at HEAD. https://github.com/llvm/llvm-project/pull/102261 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/

[clang] [clang-format] Fix a bug in annotating CastRParen (PR #102261)

2024-08-28 Thread Krasimir Georgiev via cfe-commits
krasimirgg wrote: It appears that this introduced a regression in code like this: ``` int d = 0; int c(int i) { return i; } void a() { double b = ((double)c(0)) * d / (double)0; } ``` After this patch, the last line gets formatted as: ``` void a() { double b = ((double)c(0))*d / (double)0; } ```

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-28 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg updated https://github.com/llvm/llvm-project/pull/106242 >From 32e94bde5a8ed401a9fb1255d8394c552da82dd7 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 27 Aug 2024 16:08:07 + Subject: [PATCH 1/4] [clang-format] js handle anonymous classes Addresses

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-28 Thread Krasimir Georgiev via cfe-commits
@@ -579,6 +579,14 @@ TEST_F(FormatTestJS, GoogScopes) { "});"); } +TEST_F(FormatTestJS, GoogAnonymousClass) { krasimirgg wrote: Thanks! Added one. https://github.com/llvm/llvm-project/pull/106242 ___

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-28 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg updated https://github.com/llvm/llvm-project/pull/106242 >From 32e94bde5a8ed401a9fb1255d8394c552da82dd7 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 27 Aug 2024 16:08:07 + Subject: [PATCH 1/3] [clang-format] js handle anonymous classes Addresses

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-27 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg updated https://github.com/llvm/llvm-project/pull/106242 >From 32e94bde5a8ed401a9fb1255d8394c552da82dd7 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 27 Aug 2024 16:08:07 + Subject: [PATCH 1/2] [clang-format] js handle anonymous classes Addresses

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-27 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg ready_for_review https://github.com/llvm/llvm-project/pull/106242 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-27 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg updated https://github.com/llvm/llvm-project/pull/106242 >From 32e94bde5a8ed401a9fb1255d8394c552da82dd7 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 27 Aug 2024 16:08:07 + Subject: [PATCH] [clang-format] js handle anonymous classes Addresses a r

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-27 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg created https://github.com/llvm/llvm-project/pull/106242 Addresses a regression in JavaScript when formatting anonymous classes. >From 32e94bde5a8ed401a9fb1255d8394c552da82dd7 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 27 Aug 2024 16:08:07 + S

[clang] clang serialization unittests: fix some leaks (PR #82773)

2024-02-26 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg closed https://github.com/llvm/llvm-project/pull/82773 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] clang serialization unittests: fix some leaks (PR #82773)

2024-02-26 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg updated https://github.com/llvm/llvm-project/pull/82773 >From 43f8b15fa3e5465f1939d0359ff5dcfc83ed1717 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Fri, 23 Feb 2024 15:11:51 + Subject: [PATCH 1/2] clang serialization unittests: fix some leaks No func

[clang] clang serialization unittests: fix some leaks (PR #82773)

2024-02-23 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg updated https://github.com/llvm/llvm-project/pull/82773 >From 43f8b15fa3e5465f1939d0359ff5dcfc83ed1717 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Fri, 23 Feb 2024 15:11:51 + Subject: [PATCH 1/2] clang serialization unittests: fix some leaks No func

[clang] clang serialization unittests: fix some leaks (PR #82773)

2024-02-23 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg ready_for_review https://github.com/llvm/llvm-project/pull/82773 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] clang serialization unittests: fix some leaks (PR #82773)

2024-02-23 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg created https://github.com/llvm/llvm-project/pull/82773 No functional changes intended. Fixes some leaks found by running under asan with `--gtest_repeat=2`. >From 43f8b15fa3e5465f1939d0359ff5dcfc83ed1717 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Fri

[clang] [clang-format] Add common attribute macros to Google style (PR #76239)

2023-12-22 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg approved this pull request. thank you! https://github.com/llvm/llvm-project/pull/76239 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Do not break on JS fields like on goto labels (PR #76233)

2023-12-22 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg approved this pull request. thank you! https://github.com/llvm/llvm-project/pull/76233 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] f5af7d2 - Revert "[clang][ExprConstant] fix __builtin_object_size for flexible array members"

2023-05-23 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2023-05-23T07:59:38Z New Revision: f5af7d2d987b0b16d7a641b7aa9086a75d533944 URL: https://github.com/llvm/llvm-project/commit/f5af7d2d987b0b16d7a641b7aa9086a75d533944 DIFF: https://github.com/llvm/llvm-project/commit/f5af7d2d987b0b16d7a641b7aa9086a75d533944.diff

[clang] e1f34b7 - clang-format: [JS] terminate import sorting on `export type X = Y`

2023-05-15 Thread Krasimir Georgiev via cfe-commits
Author: Jan Kuhle Date: 2023-05-15T15:37:18+02:00 New Revision: e1f34b735b669c5978bfdead874ee59d33f99eb0 URL: https://github.com/llvm/llvm-project/commit/e1f34b735b669c5978bfdead874ee59d33f99eb0 DIFF: https://github.com/llvm/llvm-project/commit/e1f34b735b669c5978bfdead874ee59d33f99eb0.diff LOG

[clang] 34b422b - clang-format: [JS] support import/export type

2023-05-10 Thread Krasimir Georgiev via cfe-commits
Author: Jan Kuhle Date: 2023-05-10T15:27:03+02:00 New Revision: 34b422bafbd934ee3c644fd7a8f0b6803976c818 URL: https://github.com/llvm/llvm-project/commit/34b422bafbd934ee3c644fd7a8f0b6803976c818 DIFF: https://github.com/llvm/llvm-project/commit/34b422bafbd934ee3c644fd7a8f0b6803976c818.diff LOG

[clang] 1689a5d - [clang] fix an unused variable warning after 9d0b55f0e4ca55d04ee8abfdf021913ea3c30082

2023-04-13 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2023-04-13T10:03:37Z New Revision: 1689a5d756f81d615bcfca8de2631b0ccc8a3917 URL: https://github.com/llvm/llvm-project/commit/1689a5d756f81d615bcfca8de2631b0ccc8a3917 DIFF: https://github.com/llvm/llvm-project/commit/1689a5d756f81d615bcfca8de2631b0ccc8a3917.diff

[clang] 1e07091 - Revert "[Modules] Remove unnecessary check when generating name lookup table in ASTWriter"

2023-03-10 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2023-03-10T14:14:55+01:00 New Revision: 1e0709167f5edd330889f51bb203c458bdb5e359 URL: https://github.com/llvm/llvm-project/commit/1e0709167f5edd330889f51bb203c458bdb5e359 DIFF: https://github.com/llvm/llvm-project/commit/1e0709167f5edd330889f51bb203c458bdb5e359.d

[clang] caf393d - Fix format for `case` in .proto files

2023-01-16 Thread Krasimir Georgiev via cfe-commits
Author: Matt Kulukundis Date: 2023-01-16T17:43:50Z New Revision: caf393da1823d50852f51604b3793e8f4a23c140 URL: https://github.com/llvm/llvm-project/commit/caf393da1823d50852f51604b3793e8f4a23c140 DIFF: https://github.com/llvm/llvm-project/commit/caf393da1823d50852f51604b3793e8f4a23c140.diff LO

[clang] 922c889 - Revert "Revert "[clang-format] Add an option for breaking after C++11 attributes""

2023-01-11 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2023-01-11T11:30:30Z New Revision: 922c8891d9916fa094147c5c793291f97a83c84c URL: https://github.com/llvm/llvm-project/commit/922c8891d9916fa094147c5c793291f97a83c84c DIFF: https://github.com/llvm/llvm-project/commit/922c8891d9916fa094147c5c793291f97a83c84c.diff

[clang] 879bfe6 - Revert "[clang-format] Add an option for breaking after C++11 attributes"

2023-01-10 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2023-01-10T09:23:44Z New Revision: 879bfe6a979295f834b76df66b19a203b93eed0f URL: https://github.com/llvm/llvm-project/commit/879bfe6a979295f834b76df66b19a203b93eed0f DIFF: https://github.com/llvm/llvm-project/commit/879bfe6a979295f834b76df66b19a203b93eed0f.diff

[clang] f86cdb4 - [clang][dataflow] Remove unused lambda capture

2022-12-16 Thread Krasimir Georgiev via cfe-commits
Author: Dani Ferreira Franco Moura Date: 2022-12-16T15:39:31+01:00 New Revision: f86cdb4853618603b8889dfeb932fd4ef8efd010 URL: https://github.com/llvm/llvm-project/commit/f86cdb4853618603b8889dfeb932fd4ef8efd010 DIFF: https://github.com/llvm/llvm-project/commit/f86cdb4853618603b8889dfeb932fd4ef

[clang] 231992d - [clang] silence unused variable warning

2022-12-16 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2022-12-16T11:22:46Z New Revision: 231992d9b88fe4e0b4aa0f55ed64d7ba88b231ce URL: https://github.com/llvm/llvm-project/commit/231992d9b88fe4e0b4aa0f55ed64d7ba88b231ce DIFF: https://github.com/llvm/llvm-project/commit/231992d9b88fe4e0b4aa0f55ed64d7ba88b231ce.diff

[clang] 339a768 - Revert "Implement CWG2631"

2022-12-14 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2022-12-14T09:10:22Z New Revision: 339a7687e1c036a5f91c9d5391523b93e2e76cd3 URL: https://github.com/llvm/llvm-project/commit/339a7687e1c036a5f91c9d5391523b93e2e76cd3 DIFF: https://github.com/llvm/llvm-project/commit/339a7687e1c036a5f91c9d5391523b93e2e76cd3.diff

[clang] 8dd2ef2 - [clang-format] distinguish multiplication after brace-init from pointer

2022-07-15 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2022-07-15T11:45:12+02:00 New Revision: 8dd2ef2130852e406dab6097b1feb248bf16ce91 URL: https://github.com/llvm/llvm-project/commit/8dd2ef2130852e406dab6097b1feb248bf16ce91 DIFF: https://github.com/llvm/llvm-project/commit/8dd2ef2130852e406dab6097b1feb248bf16ce91.d

[clang] 8f2ba36 - Revert "[ARM][Thumb] Command-line option to ensure AAPCS compliant Frame Records AND [NFC][Thumb] Update frame-chain codegen test to use thumbv6m"

2022-06-15 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2022-06-15T16:10:02+02:00 New Revision: 8f2ba3633646d0c67a1442c6508d02d93571b344 URL: https://github.com/llvm/llvm-project/commit/8f2ba3633646d0c67a1442c6508d02d93571b344 DIFF: https://github.com/llvm/llvm-project/commit/8f2ba3633646d0c67a1442c6508d02d93571b344.d

[clang] be656df - [clang-format] add a regression test for include sorting

2022-04-28 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2022-04-28T11:02:14+02:00 New Revision: be656df18721dc55a1de2eea64a3f73b6afa29a2 URL: https://github.com/llvm/llvm-project/commit/be656df18721dc55a1de2eea64a3f73b6afa29a2 DIFF: https://github.com/llvm/llvm-project/commit/be656df18721dc55a1de2eea64a3f73b6afa29a2.d

[clang] e8cc749 - Revert "[clang-format] SortIncludes should support "@import" lines in Objective-C"

2022-04-28 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2022-04-28T11:00:32+02:00 New Revision: e8cc7490d23477233d21c72923a4f8ea43bfbbc0 URL: https://github.com/llvm/llvm-project/commit/e8cc7490d23477233d21c72923a4f8ea43bfbbc0 DIFF: https://github.com/llvm/llvm-project/commit/e8cc7490d23477233d21c72923a4f8ea43bfbbc0.d

[clang] be5c3ca - Revert "[clang-format] Correctly recognize arrays in template parameter list."

2022-03-24 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2022-03-24T10:14:13+01:00 New Revision: be5c3ca7fbaec90fff004af54d3cd5f6c30a9664 URL: https://github.com/llvm/llvm-project/commit/be5c3ca7fbaec90fff004af54d3cd5f6c30a9664 DIFF: https://github.com/llvm/llvm-project/commit/be5c3ca7fbaec90fff004af54d3cd5f6c30a9664.d

[clang] eb35e0e - [clang-format] don't break up #-style comment sections

2022-03-22 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2022-03-22T15:29:02+01:00 New Revision: eb35e0ecbe0ae153481f1df16d91cc6001477d21 URL: https://github.com/llvm/llvm-project/commit/eb35e0ecbe0ae153481f1df16d91cc6001477d21 DIFF: https://github.com/llvm/llvm-project/commit/eb35e0ecbe0ae153481f1df16d91cc6001477d21.d

[clang] c9592ae - [clang-format] Fix preprocessor nesting after commit 529aa4b011c4ae808d658022ef643c44dd9b2c9c

2022-02-22 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2022-02-22T15:43:18+01:00 New Revision: c9592ae49b8c486754a745e0c7b1a30b92a12e8b URL: https://github.com/llvm/llvm-project/commit/c9592ae49b8c486754a745e0c7b1a30b92a12e8b DIFF: https://github.com/llvm/llvm-project/commit/c9592ae49b8c486754a745e0c7b1a30b92a12e8b.d

[clang] 969a51f - Revert "[ASan] Moved optimized callbacks into a separate library."

2021-12-24 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-12-24T12:01:36+01:00 New Revision: 969a51ff363263a3b5f2df55eba6b4d392bf30c0 URL: https://github.com/llvm/llvm-project/commit/969a51ff363263a3b5f2df55eba6b4d392bf30c0 DIFF: https://github.com/llvm/llvm-project/commit/969a51ff363263a3b5f2df55eba6b4d392bf30c0.d

[clang] 3a3fcd6 - [clang-format] add regression tests for braced lists

2021-12-19 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-12-19T16:07:07+01:00 New Revision: 3a3fcd6a23ad2c0f420a2f6bfde7541233790a30 URL: https://github.com/llvm/llvm-project/commit/3a3fcd6a23ad2c0f420a2f6bfde7541233790a30 DIFF: https://github.com/llvm/llvm-project/commit/3a3fcd6a23ad2c0f420a2f6bfde7541233790a30.d

[clang] d96bf6e - Revert "[clang-format] Adjust braced list detection"

2021-12-19 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-12-19T16:04:42+01:00 New Revision: d96bf6ea461810f7def54541dbcb7ceaecd2d065 URL: https://github.com/llvm/llvm-project/commit/d96bf6ea461810f7def54541dbcb7ceaecd2d065 DIFF: https://github.com/llvm/llvm-project/commit/d96bf6ea461810f7def54541dbcb7ceaecd2d065.d

[clang] e708808 - [clang-format] Support TypeScript override keyword

2021-08-25 Thread Krasimir Georgiev via cfe-commits
Author: Jan Kuehle Date: 2021-08-25T14:11:50+02:00 New Revision: e708808f875f58344ecaad66d9e6e167ca7ac90a URL: https://github.com/llvm/llvm-project/commit/e708808f875f58344ecaad66d9e6e167ca7ac90a DIFF: https://github.com/llvm/llvm-project/commit/e708808f875f58344ecaad66d9e6e167ca7ac90a.diff LO

[clang] befb9dc - [clang-format] keep TypeScript argument decorators in line

2021-08-24 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-08-24T12:37:08+02:00 New Revision: befb9dc3694e95355f21650de7acb058ac89f993 URL: https://github.com/llvm/llvm-project/commit/befb9dc3694e95355f21650de7acb058ac89f993 DIFF: https://github.com/llvm/llvm-project/commit/befb9dc3694e95355f21650de7acb058ac89f993.d

[clang] f3671a6 - [clang-format] break after the closing paren of a TypeScript decoration

2021-08-23 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-08-23T15:52:14+02:00 New Revision: f3671a688db2625ef3736ff3603ef7a9fb78610f URL: https://github.com/llvm/llvm-project/commit/f3671a688db2625ef3736ff3603ef7a9fb78610f DIFF: https://github.com/llvm/llvm-project/commit/f3671a688db2625ef3736ff3603ef7a9fb78610f.d

[clang] 4593492 - [clang-format] improve distinction of K&R function definitions vs attributes

2021-08-12 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-08-12T10:29:06+02:00 New Revision: 45934922fa88b7542c8bcd86889d062fb78efdda URL: https://github.com/llvm/llvm-project/commit/45934922fa88b7542c8bcd86889d062fb78efdda DIFF: https://github.com/llvm/llvm-project/commit/45934922fa88b7542c8bcd86889d062fb78efdda.d

[clang] 0fc27ef - [clang-format] handle trailing comments in function definition detection

2021-08-11 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-08-12T08:55:54+02:00 New Revision: 0fc27ef19670676689d3317948c81eb171bb25f8 URL: https://github.com/llvm/llvm-project/commit/0fc27ef19670676689d3317948c81eb171bb25f8 DIFF: https://github.com/llvm/llvm-project/commit/0fc27ef19670676689d3317948c81eb171bb25f8.d

[clang] f6bc614 - [clan-format] detect function definitions more conservatively

2021-08-03 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-08-03T16:19:35+02:00 New Revision: f6bc614546e169bb1b17a29c422ebace038e6c62 URL: https://github.com/llvm/llvm-project/commit/f6bc614546e169bb1b17a29c422ebace038e6c62 DIFF: https://github.com/llvm/llvm-project/commit/f6bc614546e169bb1b17a29c422ebace038e6c62.d

[clang] 4f4f278 - [clang-format] don't break between function and function name in JS

2021-08-03 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-08-03T11:18:21+02:00 New Revision: 4f4f2783056fd01182740251b2ce8a77b12684b3 URL: https://github.com/llvm/llvm-project/commit/4f4f2783056fd01182740251b2ce8a77b12684b3 DIFF: https://github.com/llvm/llvm-project/commit/4f4f2783056fd01182740251b2ce8a77b12684b3.d

[clang] 54bd95c - [clang-format] distinguish function type casts after 21c18d5a04316891110cecc2bf37ce51533decba

2021-06-15 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-06-15T10:28:36+02:00 New Revision: 54bd95cd96bc7305219b594f95d7d1f447ee4c94 URL: https://github.com/llvm/llvm-project/commit/54bd95cd96bc7305219b594f95d7d1f447ee4c94 DIFF: https://github.com/llvm/llvm-project/commit/54bd95cd96bc7305219b594f95d7d1f447ee4c94.d

[clang] 8fa56f7 - [clang-format] Prevent extraneous space insertion in bitshift operators

2021-05-04 Thread Krasimir Georgiev via cfe-commits
Author: Luis Penagos Date: 2021-05-04T12:28:49+02:00 New Revision: 8fa56f7ededcbe28cbbb810b5d261b72ab0d8035 URL: https://github.com/llvm/llvm-project/commit/8fa56f7ededcbe28cbbb810b5d261b72ab0d8035 DIFF: https://github.com/llvm/llvm-project/commit/8fa56f7ededcbe28cbbb810b5d261b72ab0d8035.diff

[clang] 5987d7c - [clang-format] fix indent in alignChainedConditionals

2021-04-26 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-04-26T11:06:29+02:00 New Revision: 5987d7c59da5a7611036c2952f5a1f501d17ad48 URL: https://github.com/llvm/llvm-project/commit/5987d7c59da5a7611036c2952f5a1f501d17ad48 DIFF: https://github.com/llvm/llvm-project/commit/5987d7c59da5a7611036c2952f5a1f501d17ad48.d

[clang] d9abcdd - [clang-format] Fix ObjC method indent after f7f9f94b

2021-03-25 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-03-25T10:52:08+01:00 New Revision: d9abcdd9f471ab0d986197e94498a5cf90aa12ef URL: https://github.com/llvm/llvm-project/commit/d9abcdd9f471ab0d986197e94498a5cf90aa12ef DIFF: https://github.com/llvm/llvm-project/commit/d9abcdd9f471ab0d986197e94498a5cf90aa12ef.d

[clang] 587859d - clang-format: use `pb` as a canonical raw string delimiter for google style

2021-03-09 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-03-09T09:07:14+01:00 New Revision: 587859d977e88648bee1888dce5175ef827f212e URL: https://github.com/llvm/llvm-project/commit/587859d977e88648bee1888dce5175ef827f212e DIFF: https://github.com/llvm/llvm-project/commit/587859d977e88648bee1888dce5175ef827f212e.d

[clang] 77b4841 - [clang-format] do not break before @tags in JS comments

2020-11-11 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2020-11-11T12:27:15+01:00 New Revision: 77b484116971337c9584fe101cdf1bca7f07f4dd URL: https://github.com/llvm/llvm-project/commit/77b484116971337c9584fe101cdf1bca7f07f4dd DIFF: https://github.com/llvm/llvm-project/commit/77b484116971337c9584fe101cdf1bca7f07f4dd.d

[clang] 7b7170f - [clang-format] avoid introducing multiline comments

2020-11-09 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2020-11-09T15:29:09+01:00 New Revision: 7b7170fa5791a8fcf28418e6daa1ab7dd2126a25 URL: https://github.com/llvm/llvm-project/commit/7b7170fa5791a8fcf28418e6daa1ab7dd2126a25 DIFF: https://github.com/llvm/llvm-project/commit/7b7170fa5791a8fcf28418e6daa1ab7dd2126a25.d

[clang] 2dbcbd3 - [clang-format] do not break before { in JS comments

2020-11-06 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2020-11-06T10:34:10+01:00 New Revision: 2dbcbd357d1da1adf9c512d150e68424faa46d75 URL: https://github.com/llvm/llvm-project/commit/2dbcbd357d1da1adf9c512d150e68424faa46d75 DIFF: https://github.com/llvm/llvm-project/commit/2dbcbd357d1da1adf9c512d150e68424faa46d75.d

[clang] df00267 - clang-format: Add a consumer to diagnostics engine

2020-10-29 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2020-10-29T11:28:27+01:00 New Revision: df00267f1fdb0b098dc42f1caa8a59b29c8e0e5f URL: https://github.com/llvm/llvm-project/commit/df00267f1fdb0b098dc42f1caa8a59b29c8e0e5f DIFF: https://github.com/llvm/llvm-project/commit/df00267f1fdb0b098dc42f1caa8a59b29c8e0e5f.d

[clang] 0fad648 - [clang-format] restore indent in conditionals when AlignOperands is DontAlign

2020-06-24 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2020-06-24T13:11:18+02:00 New Revision: 0fad648b65b99b68040fa26c5da9c0bec5b0aa1d URL: https://github.com/llvm/llvm-project/commit/0fad648b65b99b68040fa26c5da9c0bec5b0aa1d DIFF: https://github.com/llvm/llvm-project/commit/0fad648b65b99b68040fa26c5da9c0bec5b0aa1d.d

[clang] 0574030 - [clang-format] only parse C# generic type constraints in C#

2020-03-30 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2020-03-30T13:13:07+02:00 New Revision: 0574030c01615d4ce26de0d9b0d64292ab3eac9b URL: https://github.com/llvm/llvm-project/commit/0574030c01615d4ce26de0d9b0d64292ab3eac9b DIFF: https://github.com/llvm/llvm-project/commit/0574030c01615d4ce26de0d9b0d64292ab3eac9b.d

[clang] 36c2ab8 - [clang-format] do not insert spaces around inline asm symbolic names

2020-03-05 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2020-03-05T14:17:21+01:00 New Revision: 36c2ab8d04cd9ff2e50cffa1ca6b3de00e4faa81 URL: https://github.com/llvm/llvm-project/commit/36c2ab8d04cd9ff2e50cffa1ca6b3de00e4faa81 DIFF: https://github.com/llvm/llvm-project/commit/36c2ab8d04cd9ff2e50cffa1ca6b3de00e4faa81.d

[clang] 36a8f7f - [clang-format] Handle escaped " in C# string-literals

2020-01-27 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2020-01-27T12:57:20+01:00 New Revision: 36a8f7f6d8f5a9620b1a091e54abacb517ecfbba URL: https://github.com/llvm/llvm-project/commit/36a8f7f6d8f5a9620b1a091e54abacb517ecfbba DIFF: https://github.com/llvm/llvm-project/commit/36a8f7f6d8f5a9620b1a091e54abacb517ecfbba.d

[clang] 1e0174a - Treat C# `using` as a control statement

2020-01-23 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2020-01-23T13:19:55+01:00 New Revision: 1e0174a93cfd364bffd12abc8f0148509d0d0f75 URL: https://github.com/llvm/llvm-project/commit/1e0174a93cfd364bffd12abc8f0148509d0d0f75 DIFF: https://github.com/llvm/llvm-project/commit/1e0174a93cfd364bffd12abc8f0148509d0d0f75.d

[clang] 33463cf - clang-format: fix spacing in `operator const char*()`

2020-01-17 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2020-01-17T13:33:41+01:00 New Revision: 33463cfba2be7c8d6c08e666123cc34f114a1f3e URL: https://github.com/llvm/llvm-project/commit/33463cfba2be7c8d6c08e666123cc34f114a1f3e DIFF: https://github.com/llvm/llvm-project/commit/33463cfba2be7c8d6c08e666123cc34f114a1f3e.d

r375247 - [clang-format] fix regression recognizing casts in Obj-C calls

2019-10-18 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri Oct 18 08:21:06 2019 New Revision: 375247 URL: http://llvm.org/viewvc/llvm-project?rev=375247&view=rev Log: [clang-format] fix regression recognizing casts in Obj-C calls Summary: r373922 added checks for a few tokens that, following an `)` make it unlikely that the `)`

r374172 - [clang-format] Update noexcept reference qualifiers detection

2019-10-09 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Oct 9 07:46:08 2019 New Revision: 374172 URL: http://llvm.org/viewvc/llvm-project?rev=374172&view=rev Log: [clang-format] Update noexcept reference qualifiers detection Summary: r373165 fixed an issue where a templated noexcept member function with a reference qualifie

r368280 - [clang-format] fix crash involving invalid preprocessor line

2019-08-08 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Aug 8 04:56:18 2019 New Revision: 368280 URL: http://llvm.org/viewvc/llvm-project?rev=368280&view=rev Log: [clang-format] fix crash involving invalid preprocessor line Summary: This (invalid) fragment is crashing clang-format: ``` #if 1 int x; #elif int y; #endif ```

r367012 - Update some tests after r366702

2019-07-25 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Jul 25 05:15:46 2019 New Revision: 367012 URL: http://llvm.org/viewvc/llvm-project?rev=367012&view=rev Log: Update some tests after r366702 Summary: r366702 added a set of new clang-cl -- specific openmp flags together with tests. The way the newly added tests work is

r360411 - Revert "Revert "[clang-format] Keep protobuf "package" statement on one line""

2019-05-10 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri May 10 02:15:11 2019 New Revision: 360411 URL: http://llvm.org/viewvc/llvm-project?rev=360411&view=rev Log: Revert "Revert "[clang-format] Keep protobuf "package" statement on one line"" Summary: Top-level "package" and "import" statements should generally be kept on on

r358689 - [clang-format] Fix indent of trailing raw string param after newline

2019-04-18 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Apr 18 10:14:05 2019 New Revision: 358689 URL: http://llvm.org/viewvc/llvm-project?rev=358689&view=rev Log: [clang-format] Fix indent of trailing raw string param after newline Summary: Currently clang-format uses ContinuationIndent to indent the contents of a raw strin

r358275 - [clang-format] Use SpacesBeforeTrailingComments for "option" directive

2019-04-12 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri Apr 12 03:11:34 2019 New Revision: 358275 URL: http://llvm.org/viewvc/llvm-project?rev=358275&view=rev Log: [clang-format] Use SpacesBeforeTrailingComments for "option" directive Summary: AnnotatingParser::next() is needed to implicitly set TT_BlockComment versus TT_Lin

r357695 - [clang-format] Preserve include blocks in ObjC Google style

2019-04-04 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Apr 4 07:04:26 2019 New Revision: 357695 URL: http://llvm.org/viewvc/llvm-project?rev=357695&view=rev Log: [clang-format] Preserve include blocks in ObjC Google style Summary: r357567 started to regroup include block for Google style; it was meant to apply only for C++

r357599 - [clang-format] Do not emit replacements while regrouping if Cpp includes are OK

2019-04-03 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Apr 3 08:16:04 2019 New Revision: 357599 URL: http://llvm.org/viewvc/llvm-project?rev=357599&view=rev Log: [clang-format] Do not emit replacements while regrouping if Cpp includes are OK Summary: Currently clang-format would always emit a replacement for multi-block #i

r356928 - [clang-format] Refine structured binding detection

2019-03-25 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Mar 25 10:29:16 2019 New Revision: 356928 URL: http://llvm.org/viewvc/llvm-project?rev=356928&view=rev Log: [clang-format] Refine structured binding detection Summary: Revision r356575 had the unfortunate consequence that now clang-format never detects an ObjC call expr

r355831 - clang-format: distinguish ObjC call subexpressions after r355434

2019-03-11 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Mar 11 09:02:52 2019 New Revision: 355831 URL: http://llvm.org/viewvc/llvm-project?rev=355831&view=rev Log: clang-format: distinguish ObjC call subexpressions after r355434 Summary: The revision r355434 had the unfortunate side-effect that it started to recognize certai

r354452 - [clang-format] Do not emit replacements if Java imports are OK

2019-02-20 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Feb 20 03:44:21 2019 New Revision: 354452 URL: http://llvm.org/viewvc/llvm-project?rev=354452&view=rev Log: [clang-format] Do not emit replacements if Java imports are OK Summary: Currently clang-format would always emit a replacement for a block of Java imports even i

r353033 - [clang-format] Fix breaking of qualified operator

2019-02-04 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Feb 4 01:56:16 2019 New Revision: 353033 URL: http://llvm.org/viewvc/llvm-project?rev=353033&view=rev Log: [clang-format] Fix breaking of qualified operator Summary: From https://bugs.llvm.org/show_bug.cgi?id=40516 ``` $ cat a.cpp const NamespaceName::VeryLongClassName

r347465 - [clang-format] Do not treat asm clobber [ as ObjCExpr, refined

2018-11-22 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Nov 22 06:49:55 2018 New Revision: 347465 URL: http://llvm.org/viewvc/llvm-project?rev=347465&view=rev Log: [clang-format] Do not treat asm clobber [ as ObjCExpr, refined Summary: r346756 refined clang-format to not treat the `[` in `asm (...: [] ..)` as an ObjCExpr. Ho

r347307 - [clang-format] JS: don't treat is: as a type matcher

2018-11-20 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Nov 20 06:22:43 2018 New Revision: 347307 URL: http://llvm.org/viewvc/llvm-project?rev=347307&view=rev Log: [clang-format] JS: don't treat is: as a type matcher Summary: Clang-format is treating all occurences of `is` in js as type matchers. In some cases this is wrong,

r346756 - [clang-format] Do not treat the asm clobber [ as ObjCExpr

2018-11-13 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Nov 13 07:38:12 2018 New Revision: 346756 URL: http://llvm.org/viewvc/llvm-project?rev=346756&view=rev Log: [clang-format] Do not treat the asm clobber [ as ObjCExpr Summary: The opening square of an inline asm clobber was being annotated as an ObjCExpr. This caused, am

r345753 - [clang-format] tweaked another case of lambda formatting

2018-10-31 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Oct 31 10:56:57 2018 New Revision: 345753 URL: http://llvm.org/viewvc/llvm-project?rev=345753&view=rev Log: [clang-format] tweaked another case of lambda formatting Summary: This is done in order to improve cases where the lambda's body is moved too far to the right. C

r345242 - [clang-format] Break before next parameter after a formatted multiline raw string parameter

2018-10-25 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Oct 25 00:39:30 2018 New Revision: 345242 URL: http://llvm.org/viewvc/llvm-project?rev=345242&view=rev Log: [clang-format] Break before next parameter after a formatted multiline raw string parameter Summary: Currently clang-format breaks before the next parameter afte

[clang-tools-extra] r344773 - [clangd] Fix msan failure after r344735 by initializing bitfields

2018-10-18 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Oct 18 23:05:32 2018 New Revision: 344773 URL: http://llvm.org/viewvc/llvm-project?rev=344773&view=rev Log: [clangd] Fix msan failure after r344735 by initializing bitfields That revision changed integer members to bitfields; the integers were default initialized before

[clang-tools-extra] r344637 - Revert "[clangd] Refactor JSON-over-stdin/stdout code into Transport abstraction."

2018-10-16 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Oct 16 11:44:41 2018 New Revision: 344637 URL: http://llvm.org/viewvc/llvm-project?rev=344637&view=rev Log: Revert "[clangd] Refactor JSON-over-stdin/stdout code into Transport abstraction." This reverts commit r344620. Breaks upstream bots. Removed: clang-tools-e

r343862 - [clang-format] Java import sorting in clang-format

2018-10-05 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri Oct 5 10:19:26 2018 New Revision: 343862 URL: http://llvm.org/viewvc/llvm-project?rev=343862&view=rev Log: [clang-format] Java import sorting in clang-format Contributed by SamMaier! Added: cfe/trunk/unittests/Format/SortImportsTestJava.cpp Modified: cfe/trunk

r343517 - [clang-format] Update comment, NFCI

2018-10-01 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Oct 1 11:41:21 2018 New Revision: 343517 URL: http://llvm.org/viewvc/llvm-project?rev=343517&view=rev Log: [clang-format] Update comment, NFCI The initializer of `ParameterCount` was updated from 1 to 0 in r175165, but the comment was never touched: https://github.com/

r343513 - [clang-format] Fix typo in comment, NFCI

2018-10-01 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Oct 1 11:18:00 2018 New Revision: 343513 URL: http://llvm.org/viewvc/llvm-project?rev=343513&view=rev Log: [clang-format] Fix typo in comment, NFCI Modified: cfe/trunk/lib/Format/FormatToken.h Modified: cfe/trunk/lib/Format/FormatToken.h URL: http://llvm.org/view

r339573 - [clang-format] Fix comment, NFC

2018-08-13 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Aug 13 07:32:29 2018 New Revision: 339573 URL: http://llvm.org/viewvc/llvm-project?rev=339573&view=rev Log: [clang-format] Fix comment, NFC Modified: cfe/trunk/unittests/Format/FormatTestTextProto.cpp Modified: cfe/trunk/unittests/Format/FormatTestTextProto.cpp URL

r339123 - [clang-format] comment reflow: add last line's penalty when ending broken

2018-08-07 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Aug 7 03:23:24 2018 New Revision: 339123 URL: http://llvm.org/viewvc/llvm-project?rev=339123&view=rev Log: [clang-format] comment reflow: add last line's penalty when ending broken Summary: This fixes a bug in clang-format where the last line's penalty is not taken int

r338839 - clang-format-diff: Make it work with python3 too

2018-08-03 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri Aug 3 03:04:58 2018 New Revision: 338839 URL: http://llvm.org/viewvc/llvm-project?rev=338839&view=rev Log: clang-format-diff: Make it work with python3 too Summary: It is not necessary, but would be nice if the script run on python3 as well (as opposed to only python2

r338524 - [clang-format] Add some text proto functions to Google style

2018-08-01 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Aug 1 05:35:23 2018 New Revision: 338524 URL: http://llvm.org/viewvc/llvm-project?rev=338524&view=rev Log: [clang-format] Add some text proto functions to Google style Summary: Adds 2 functions taking a text proto argument. Reviewers: djasper, klimek Reviewed By: dja

r338519 - [clang-format] Add @private to the list of jsdoc annotations

2018-08-01 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Aug 1 04:48:04 2018 New Revision: 338519 URL: http://llvm.org/viewvc/llvm-project?rev=338519&view=rev Log: [clang-format] Add @private to the list of jsdoc annotations Reviewers: mprobst Reviewed By: mprobst Subscribers: acoomans, cfe-commits Differential Revision:

r338245 - [clang-format] Silence -Wdocumentation warnings

2018-07-30 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Jul 30 05:22:41 2018 New Revision: 338245 URL: http://llvm.org/viewvc/llvm-project?rev=338245&view=rev Log: [clang-format] Silence -Wdocumentation warnings introduced in r338232 Modified: cfe/trunk/lib/Format/BreakableToken.h Modified: cfe/trunk/lib/Format/Breakab

r338232 - [clang-format] Indent after breaking Javadoc annotated line

2018-07-30 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Jul 30 01:45:45 2018 New Revision: 338232 URL: http://llvm.org/viewvc/llvm-project?rev=338232&view=rev Log: [clang-format] Indent after breaking Javadoc annotated line Summary: This patch makes clang-format indent the subsequent lines created by breaking a long javadoc

r337899 - [clang-format ]Extend IncludeCategories regex documentation

2018-07-25 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Jul 25 03:21:47 2018 New Revision: 337899 URL: http://llvm.org/viewvc/llvm-project?rev=337899&view=rev Log: [clang-format ]Extend IncludeCategories regex documentation Summary: Extend the Clang-Format IncludeCategories documentation by adding a link to the supported re

r335978 - [clang-format] Support additional common functions for text proto formatting

2018-06-29 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri Jun 29 07:25:25 2018 New Revision: 335978 URL: http://llvm.org/viewvc/llvm-project?rev=335978&view=rev Log: [clang-format] Support additional common functions for text proto formatting Summary: This adds a few more common function names expecting a text proto argument.

r335876 - [clang-format] Do not format raw string literals inside a recognized function with a non-recognized delimiter

2018-06-28 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Jun 28 09:58:24 2018 New Revision: 335876 URL: http://llvm.org/viewvc/llvm-project?rev=335876&view=rev Log: [clang-format] Do not format raw string literals inside a recognized function with a non-recognized delimiter Summary: This stops clang-format from touching raw

r335595 - [clang-format] Enable text proto formatting in common functions

2018-06-26 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Jun 26 05:00:14 2018 New Revision: 335595 URL: http://llvm.org/viewvc/llvm-project?rev=335595&view=rev Log: [clang-format] Enable text proto formatting in common functions Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D48363 Modified: cf

r335459 - [clang-format] Keep @message together in text protos

2018-06-25 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Jun 25 05:43:12 2018 New Revision: 335459 URL: http://llvm.org/viewvc/llvm-project?rev=335459&view=rev Log: [clang-format] Keep @message together in text protos Summary: In C++ code snippets of the form `@field` are common. This makes clang-format keep them together in

r335449 - [clang-format] Fix end-of-file comments text proto formatting

2018-06-25 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Jun 25 04:08:24 2018 New Revision: 335449 URL: http://llvm.org/viewvc/llvm-project?rev=335449&view=rev Log: [clang-format] Fix end-of-file comments text proto formatting Summary: The case of end-of-file comments was formatted badly: ``` key: value # end-of-file comm

r334527 - [clang-format] Fix crash while reflowing backslash in comments

2018-06-12 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Jun 12 12:33:15 2018 New Revision: 334527 URL: http://llvm.org/viewvc/llvm-project?rev=334527&view=rev Log: [clang-format] Fix crash while reflowing backslash in comments Summary: The added test case was currently crashing with an assertion: ``` krasimir@krasimir> cat t

r334517 - [clang-format] Discourage breaks in submessage entries, hard rule

2018-06-12 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Jun 12 10:26:31 2018 New Revision: 334517 URL: http://llvm.org/viewvc/llvm-project?rev=334517&view=rev Log: [clang-format] Discourage breaks in submessage entries, hard rule Summary: Currently clang-format allows this for text protos: ``` submessage: { key: 'aaa

r334401 - [clang-format] text protos: put entries on separate lines if there is a submessage

2018-06-11 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Jun 11 05:53:25 2018 New Revision: 334401 URL: http://llvm.org/viewvc/llvm-project?rev=334401&view=rev Log: [clang-format] text protos: put entries on separate lines if there is a submessage Summary: This patch updates clang-format text protos to put entries of a subme

r334179 - [clang-format] Consider tok::hashhash in python-style comments

2018-06-07 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Jun 7 02:46:24 2018 New Revision: 334179 URL: http://llvm.org/viewvc/llvm-project?rev=334179&view=rev Log: [clang-format] Consider tok::hashhash in python-style comments Summary: We were missing the case when python-style comments in text protos start with `##`. Subs

r333092 - [clang-format] fix buildbots after r333085

2018-05-23 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed May 23 08:21:33 2018 New Revision: 333092 URL: http://llvm.org/viewvc/llvm-project?rev=333092&view=rev Log: [clang-format] fix buildbots after r333085 Old gcc versions don't like raw string literals in macros. Modified: cfe/trunk/unittests/Format/FormatTest.cpp Mo

  1   2   3   >