@@ -8119,6 +8119,35 @@ but do not pass them to the underlying coroutine or pass
them by value.
}];
}
+def CoroAwaitElidableDoc : Documentation {
+ let Category = DocCatDecl;
+ let Content = [{
+The ``[[clang::coro_await_elidable]]`` is a class attribute which can be
applie
Author: Chuanqi Xu
Date: 2024-08-08T13:29:59+08:00
New Revision: e72d956b99e920b0fe2a7946eb3a51b9e889c73c
URL:
https://github.com/llvm/llvm-project/commit/e72d956b99e920b0fe2a7946eb3a51b9e889c73c
DIFF:
https://github.com/llvm/llvm-project/commit/e72d956b99e920b0fe2a7946eb3a51b9e889c73c.diff
LO
@@ -139,6 +140,8 @@ class BugproneModule : public ClangTidyModule {
"bugprone-inaccurate-erase");
CheckFactories.registerCheck(
"bugprone-incorrect-enable-if");
+CheckFactories.registerCheck(
+"bugprone-public-enable-shared-from-this");
-
@@ -0,0 +1,45 @@
+//===--- PublicEnableSharedFromThisCheck.cpp - clang-tidy
-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identif
@@ -98,6 +98,11 @@ Improvements to clang-tidy
New checks
^^
+- New :doc:`bugprone-public-enable-shared-from-this
+ ` check.
+
+ Checks if a class deriving from enable_shared_from_this has public access
specifiers, because otherwise the program will crash when shared
https://github.com/a-tarasyuk deleted
https://github.com/llvm/llvm-project/pull/101853
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/a-tarasyuk deleted
https://github.com/llvm/llvm-project/pull/101853
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
prj- wrote:
Thank you very much.
https://github.com/llvm/llvm-project/pull/102261
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/a-tarasyuk deleted
https://github.com/llvm/llvm-project/pull/101853
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Gitspike updated
https://github.com/llvm/llvm-project/pull/102152
>From 2d09f0bdc3881f7030d9054045c7839dcc956d22 Mon Sep 17 00:00:00 2001
From: hehouhua
Date: Wed, 7 Aug 2024 11:55:30 +0800
Subject: [PATCH 1/4] [clang][ASTMatcher] Add matches for StringLiteral which
matches
https://github.com/Gitspike updated
https://github.com/llvm/llvm-project/pull/102152
>From 2d09f0bdc3881f7030d9054045c7839dcc956d22 Mon Sep 17 00:00:00 2001
From: hehouhua
Date: Wed, 7 Aug 2024 11:55:30 +0800
Subject: [PATCH 1/4] [clang][ASTMatcher] Add matches for StringLiteral which
matches
@@ -0,0 +1,45 @@
+// RUN: %check_clang_tidy %s bugprone-public-enable-shared-from-this %t -- --
+
+namespace std {
+
+template class enable_shared_from_this {};
+
+class BadExample : enable_shared_from_this {};
+// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: class BadExa
https://github.com/Gitspike updated
https://github.com/llvm/llvm-project/pull/102152
>From a6f4d0d45d1adbfd975cfbea8950a5c1486663bf Mon Sep 17 00:00:00 2001
From: hehouhua
Date: Wed, 7 Aug 2024 11:55:30 +0800
Subject: [PATCH 1/5] [clang][ASTMatcher] Add matches for StringLiteral which
matches
https://github.com/Gitspike updated
https://github.com/llvm/llvm-project/pull/102152
>From a6f4d0d45d1adbfd975cfbea8950a5c1486663bf Mon Sep 17 00:00:00 2001
From: hehouhua
Date: Wed, 7 Aug 2024 11:55:30 +0800
Subject: [PATCH 1/5] [clang][ASTMatcher] Add matches for StringLiteral which
matches
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/102426
>From fb78d6e1b2b546b0901a4b1ca97ff8eae3cc95cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 8 Aug 2024 08:01:18 +0200
Subject: [PATCH] [clang][Interp] Properly abort on reads from non
https://github.com/Fznamznon closed
https://github.com/llvm/llvm-project/pull/102304
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Mariya Podchishchaeva
Date: 2024-08-08T08:51:56+02:00
New Revision: 3606d69d0b57dc1d23a4362e376e7ad27f650c27
URL:
https://github.com/llvm/llvm-project/commit/3606d69d0b57dc1d23a4362e376e7ad27f650c27
DIFF:
https://github.com/llvm/llvm-project/commit/3606d69d0b57dc1d23a4362e376e7ad27f650c
https://github.com/Gitspike updated
https://github.com/llvm/llvm-project/pull/102152
>From f2c760d6fa9ff685584dcb4aa38ae88fee892895 Mon Sep 17 00:00:00 2001
From: hehouhua
Date: Wed, 7 Aug 2024 11:55:30 +0800
Subject: [PATCH] [clang][ASTMatcher] Add matches for StringLiteral which
matches lite
https://github.com/Fznamznon milestoned
https://github.com/llvm/llvm-project/pull/102304
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Fznamznon wrote:
/cherry-pick 3606d69d0b57dc1d23a4362e376e7ad27f650c27
https://github.com/llvm/llvm-project/pull/102304
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
501 - 520 of 520 matches
Mail list logo