[clang] 61c5ad8 - [Sema] Fix fixit cast printing inside macros (#66853)

2023-09-20 Thread via cfe-commits
Author: Shoaib Meenai Date: 2023-09-20T17:32:35-07:00 New Revision: 61c5ad8857a71510e4393680a1e42740da4ba6fa URL: https://github.com/llvm/llvm-project/commit/61c5ad8857a71510e4393680a1e42740da4ba6fa DIFF: https://github.com/llvm/llvm-project/commit/61c5ad8857a71510e4393680a1e42740da4ba6fa.diff

[clang] [Sema] Fix fixit cast printing inside macros (PR #66853)

2023-09-20 Thread Shoaib Meenai via cfe-commits
https://github.com/smeenai closed https://github.com/llvm/llvm-project/pull/66853 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [llvm-profdata] Do not create numerical strings for MD5 function names read from a Sample Profile. (PR #66164)

2023-09-20 Thread William Junda Huang via cfe-commits
@@ -0,0 +1,225 @@ +//===--- ProfileFuncRef.h - Sample profile function name ---*- C++ -*-===// +// +// 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-Identifier: Apache-2

[clang] [clang][modules] Move `SLocEntry` search into `ASTReader` (PR #66966)

2023-09-20 Thread Jan Svoboda via cfe-commits
https://github.com/jansvoboda11 created https://github.com/llvm/llvm-project/pull/66966 In `getFileID()` the `SourceManager` ends up doing a binary search over its buffer of `SLocEntries`. For modules, this binary search fully deserializes the entire `SLocEntry` block for visited each entry. T

[clang] [clang][modules] Move `SLocEntry` search into `ASTReader` (PR #66966)

2023-09-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Changes In `getFileID()` the `SourceManager` ends up doing a binary search over its buffer of `SLocEntries`. For modules, this binary search fully deserializes the entire `SLocEntry` block for visited each entry. This shows up in profiles

[clang] [clang][modules] Move `SLocEntry` search into `ASTReader` (PR #66966)

2023-09-20 Thread Jan Svoboda via cfe-commits
jansvoboda11 wrote: Marking as draft for now. We still need to cache the lightweight offset deserialization. While this patch speeds up the dependency scanner as it stands, implicit modules compile slows down by 50%. https://github.com/llvm/llvm-project/pull/66966 _

[clang] 2ed0453 - -fsanitize=function: Add a MSVC test case

2023-09-20 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2023-09-21T02:56:57+02:00 New Revision: 2ed0453b10ddf6617856b0c93be5bf72a8090f2f URL: https://github.com/llvm/llvm-project/commit/2ed0453b10ddf6617856b0c93be5bf72a8090f2f DIFF: https://github.com/llvm/llvm-project/commit/2ed0453b10ddf6617856b0c93be5bf72a8090f2f.dif

[clang] 4914d33 - -fsanitize=function: Add a (bugged) test case for a sugared function type

2023-09-20 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2023-09-21T02:57:49+02:00 New Revision: 4914d33b6fc4284a491e3c9a050f277511da17b6 URL: https://github.com/llvm/llvm-project/commit/4914d33b6fc4284a491e3c9a050f277511da17b6 DIFF: https://github.com/llvm/llvm-project/commit/4914d33b6fc4284a491e3c9a050f277511da17b6.dif

[clang] -fsanitize=function: fix MSVC hashing to sugared type (PR #66816)

2023-09-20 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/66816 >From f2e022964f00e348ad3ab04ade88182485f7c19d Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Tue, 19 Sep 2023 22:21:25 +0200 Subject: [PATCH] -fsanitize=function: fix MSVC hashing to sugared type Hashing

[clang] [clang][Sema] Fix crash introduced in b2cd9db589335d5885c04df83003a623cf2f05ff (PR #66954)

2023-09-20 Thread Shafik Yaghmour via cfe-commits
shafik wrote: Thanks for the quick fix! https://github.com/llvm/llvm-project/pull/66954 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc++] Implement ranges::contains_subrange (PR #66963)

2023-09-20 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 5a2c930770cf548c5e3f3451e76b48cb067e6762 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH] [libc++] Implement ranges::contains_subrange --- libcxx/inclu

[clang] [libc++] Implement ranges::contains_subrange (PR #66963)

2023-09-20 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 5a2c930770cf548c5e3f3451e76b48cb067e6762 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH] [libc++] Implement ranges::contains_subrange --- libcxx/inclu

[clang] [RISCV] Fix wrong implication for zvknhb. (PR #66860)

2023-09-20 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat updated https://github.com/llvm/llvm-project/pull/66860 >From 3c28f7bace91dc4edd5e87b9f1a36d100cf38318 Mon Sep 17 00:00:00 2001 From: 4vtomat Date: Tue, 19 Sep 2023 23:06:01 -0700 Subject: [PATCH] [RISCV] Fix wrong implication for zvknhb. --- clang/include/clang/Bas

[clang] [libc++] Implement ranges::contains_subrange (PR #66963)

2023-09-20 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 5a2c930770cf548c5e3f3451e76b48cb067e6762 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 1/2] [libc++] Implement ranges::contains_subrange --- libcxx/i

[clang-tools-extra] 3de1e30 - [clang] NFCI: Use `FileEntryRef` in `SymbolCollector`

2023-09-20 Thread Jan Svoboda via cfe-commits
Author: Jan Svoboda Date: 2023-09-20T18:41:25-07:00 New Revision: 3de1e30c9a59c0c2f7d498488532e1e324059082 URL: https://github.com/llvm/llvm-project/commit/3de1e30c9a59c0c2f7d498488532e1e324059082 DIFF: https://github.com/llvm/llvm-project/commit/3de1e30c9a59c0c2f7d498488532e1e324059082.diff L

[clang] 69074bf - [clang] NFCI: Use `FileEntryRef` in `FileManagerTest`

2023-09-20 Thread Jan Svoboda via cfe-commits
Author: Jan Svoboda Date: 2023-09-20T18:41:25-07:00 New Revision: 69074bf144c1bf54040d289584e3d1d54f883a37 URL: https://github.com/llvm/llvm-project/commit/69074bf144c1bf54040d289584e3d1d54f883a37 DIFF: https://github.com/llvm/llvm-project/commit/69074bf144c1bf54040d289584e3d1d54f883a37.diff L

[clang] [RISCV] Fix wrong implication for zvknhb. (PR #66860)

2023-09-20 Thread Brandon Wu via cfe-commits
4vtomat wrote: no change, just to re-trigger checks. https://github.com/llvm/llvm-project/pull/66860 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Fix wrong implication for zvknhb. (PR #66860)

2023-09-20 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat resolved https://github.com/llvm/llvm-project/pull/66860 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

2023-09-20 Thread Shilei Tian via cfe-commits
shiltian wrote: Since that is an extension, we have to check `getLangOpts().OpenMPExtensions`. https://github.com/llvm/llvm-project/pull/66919 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c

[clang] [RISCV] Fix wrong implication for zvknhb. (PR #66860)

2023-09-20 Thread Craig Topper via cfe-commits
@@ -599,15 +599,21 @@ def HasStdExtZvkned : Predicate<"Subtarget->hasStdExtZvkned()">, def FeatureStdExtZvknha : SubtargetFeature<"experimental-zvknha", "HasStdExtZvknha", "true", "'Zvknha' (Vector SHA-2 (SHA-256 only))">; - -def FeatureStdExtZvknhb

[clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

2023-09-20 Thread Shilei Tian via cfe-commits
@@ -347,10 +347,6 @@ if(LIBOMP_OMPD_SUPPORT AND ((NOT LIBOMP_OMPT_SUPPORT) OR (NOT "${CMAKE_SYSTEM_NA set(LIBOMP_OMPD_SUPPORT FALSE) endif() -# OMPX Taskgraph support shiltian wrote: I'm not sure if I asked it before, but if possible can we run some task

[clang] [RISCV] Fix wrong implication for zvknhb. (PR #66860)

2023-09-20 Thread Brandon Wu via cfe-commits
@@ -599,15 +599,21 @@ def HasStdExtZvkned : Predicate<"Subtarget->hasStdExtZvkned()">, def FeatureStdExtZvknha : SubtargetFeature<"experimental-zvknha", "HasStdExtZvknha", "true", "'Zvknha' (Vector SHA-2 (SHA-256 only))">; - -def FeatureStdExtZvknhb

[clang] [RISCV] Fix wrong implication for zvknhb. (PR #66860)

2023-09-20 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat unresolved https://github.com/llvm/llvm-project/pull/66860 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Fix wrong implication for zvknhb. (PR #66860)

2023-09-20 Thread Craig Topper via cfe-commits
@@ -599,15 +599,21 @@ def HasStdExtZvkned : Predicate<"Subtarget->hasStdExtZvkned()">, def FeatureStdExtZvknha : SubtargetFeature<"experimental-zvknha", "HasStdExtZvknha", "true", "'Zvknha' (Vector SHA-2 (SHA-256 only))">; - -def FeatureStdExtZvknhb

[clang] [Clang][LLVM][Coroutines] Prevent __coro_gro from outliving __promise (PR #66706)

2023-09-20 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 edited https://github.com/llvm/llvm-project/pull/66706 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][LLVM][Coroutines] Prevent __coro_gro from outliving __promise (PR #66706)

2023-09-20 Thread Chuanqi Xu via cfe-commits
@@ -6691,6 +6691,22 @@ sections that the user does not want removed after linking. ... !0 = !{} +'``coro.outside.frame``' Metadata +^^ + +``coro.outside.frame`` metadata may be attached to an alloca instruction to +to signify that it shouldn't be promo

[clang] [Clang][LLVM][Coroutines] Prevent __coro_gro from outliving __promise (PR #66706)

2023-09-20 Thread Chuanqi Xu via cfe-commits
@@ -104,3 +105,5 @@ invoker g() { // CHECK: call void @_ZN7invoker15invoker_promise17get_return_objectEv({{.*}} %[[AggRes]] co_return; } + +// CHECK: ![[OutFrameMetadata]] = !{} ChuanqiXu9 wrote: nit: no newline https://github.com/llvm/llvm-project/pull/

[clang] [Clang][LLVM][Coroutines] Prevent __coro_gro from outliving __promise (PR #66706)

2023-09-20 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 commented: Thanks. It looks good if we can add llvm test in llvm/test/Transforms/Coroutines for the new metadata. https://github.com/llvm/llvm-project/pull/66706 ___ cfe-commits mailing list cfe-commits@lists.llvm.org htt

[clang] [RISCV] Fix wrong implication for zvknhb. (PR #66860)

2023-09-20 Thread Brandon Wu via cfe-commits
@@ -599,15 +599,21 @@ def HasStdExtZvkned : Predicate<"Subtarget->hasStdExtZvkned()">, def FeatureStdExtZvknha : SubtargetFeature<"experimental-zvknha", "HasStdExtZvknha", "true", "'Zvknha' (Vector SHA-2 (SHA-256 only))">; - -def FeatureStdExtZvknhb

[clang] [clang-format] Don't split "DPI"/"DPI-C" in Verilog imports (PR #66951)

2023-09-20 Thread Owen Pan via cfe-commits
owenca wrote: Please wait for @sstwcw. IMO it would be better to disable splitting string literals after `import`. https://github.com/llvm/llvm-project/pull/66951 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/m

[clang] [Clang] Enable AIX local-dynamic TLS mode (PR #66972)

2023-09-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Changes We are going to support local-dynamic TLS mode on AIX targets. This patch removes relevant guards in clang. --- Patch is 137.79 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/66972.diff 21 Fi

[clang] [Clang] Enable AIX local-dynamic TLS mode (PR #66972)

2023-09-20 Thread Ting Wang via cfe-commits
https://github.com/orcguru closed https://github.com/llvm/llvm-project/pull/66972 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Enable AIX local-dynamic TLS mode (PR #66972)

2023-09-20 Thread Ting Wang via cfe-commits
orcguru wrote: It's not expected that this commit includes all commits from the backend patch. Maybe I have to serialize the code review. Close this now. https://github.com/llvm/llvm-project/pull/66972 ___ cfe-commits mailing list cfe-commits@lists.ll

[clang-tools-extra] [clang-analysis]Fix false positive in mutation check when using pointer to member function (PR #66846)

2023-09-20 Thread via cfe-commits
@@ -100,6 +100,20 @@ AST_MATCHER(CXXTypeidExpr, isPotentiallyEvaluated) { return Node.isPotentiallyEvaluated(); } +AST_MATCHER(CXXMemberCallExpr, isConstCallee) { + const auto *CalleeDecl = Node.getCalleeDecl(); + const auto *VD = dyn_cast_or_null(CalleeDecl); + if (!VD)

[clang-tools-extra] [clang-analysis]Fix false positive in mutation check when using pointer to member function (PR #66846)

2023-09-20 Thread via cfe-commits
@@ -100,6 +100,20 @@ AST_MATCHER(CXXTypeidExpr, isPotentiallyEvaluated) { return Node.isPotentiallyEvaluated(); } +AST_MATCHER(CXXMemberCallExpr, isConstCallee) { + const auto *CalleeDecl = Node.getCalleeDecl(); EugeneZelenko wrote: Please don't use `auto`

[clang] [clang-analysis]Fix false positive in mutation check when using pointer to member function (PR #66846)

2023-09-20 Thread via cfe-commits
@@ -100,6 +100,20 @@ AST_MATCHER(CXXTypeidExpr, isPotentiallyEvaluated) { return Node.isPotentiallyEvaluated(); } +AST_MATCHER(CXXMemberCallExpr, isConstCallee) { + const auto *CalleeDecl = Node.getCalleeDecl(); + const auto *VD = dyn_cast_or_null(CalleeDecl); + if (!VD)

[clang] [MSVC, ARM64] Add _Copy* and _Count* intrinsics (PR #66554)

2023-09-20 Thread Eli Friedman via cfe-commits
https://github.com/efriedma-quic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/66554 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][LLVM][Coroutines] Prevent __coro_gro from outliving __promise (PR #66706)

2023-09-20 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 edited https://github.com/llvm/llvm-project/pull/66706 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Fix wrong implication for zvknhb. (PR #66860)

2023-09-20 Thread Craig Topper via cfe-commits
@@ -599,15 +599,21 @@ def HasStdExtZvkned : Predicate<"Subtarget->hasStdExtZvkned()">, def FeatureStdExtZvknha : SubtargetFeature<"experimental-zvknha", "HasStdExtZvknha", "true", "'Zvknha' (Vector SHA-2 (SHA-256 only))">; - -def FeatureStdExtZvknhb

[clang] [clang][Diagnostics] Highlight code snippets (PR #66514)

2023-09-20 Thread Timm Baeder via cfe-commits
Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= , Timm =?utf-8?q?Bäder?= Message-ID: In-Reply-To: https://github.com/tbaederr updated https://github.com/llvm/llvm-project/pull/66514 >From 4323e6952a577a81a5fdc51ce9571f28d7ccb6f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Da

[clang] [clang][AST][ASTImporter] improve AST comparasion on VarDecl & GotoStmt (PR #66110)

2023-09-20 Thread Qizhi Hu via cfe-commits
https://github.com/jcsxky edited https://github.com/llvm/llvm-project/pull/66110 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][AST][ASTImporter] improve AST comparasion on VarDecl & GotoStmt (PR #66110)

2023-09-20 Thread Qizhi Hu via cfe-commits
https://github.com/jcsxky edited https://github.com/llvm/llvm-project/pull/66110 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Introduce paged vector (PR #66430)

2023-09-20 Thread Fangrui Song via cfe-commits
@@ -0,0 +1,302 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// 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-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-20 Thread Fangrui Song via cfe-commits
@@ -0,0 +1,322 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// 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-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-20 Thread Fangrui Song via cfe-commits
@@ -0,0 +1,302 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// 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-Identifier

[clang] Introduce paged vector (PR #66430)

2023-09-20 Thread Fangrui Song via cfe-commits
@@ -0,0 +1,302 @@ +//===- llvm/ADT/PagedVector.h - 'Lazyly allocated' vectors *- C++ +//-*-===// +// +// 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-Identifier

[clang] [flang][Driver] Support -rpath, -shared, and -static in the frontend (PR #66702)

2023-09-20 Thread Fangrui Song via cfe-commits
@@ -50,3 +50,19 @@ ! MSVC-SAME: FortranDecimal.lib ! MSVC-SAME: /subsystem:console ! MSVC-SAME: "[[object_file]]" + +! Verify that certain linker flags are known to the frontend and are passed on +! to the linker. + +! RUN: %flang -### -rpath /path/to/dir %s 2>&1 \

[clang] [clang][AST][ASTImporter] improve AST comparasion on VarDecl & GotoStmt (PR #66976)

2023-09-20 Thread Qizhi Hu via cfe-commits
https://github.com/jcsxky created https://github.com/llvm/llvm-project/pull/66976 improve AST comparasion on VarDecl & GotoStmt: 1. VarDecl should not be ignored, 2. GotoStmt has no children, it should be handle explicitly. Reviewed By: donat.nagy Differential Revision: https://reviews.llv

[clang] [RISCV] Fix wrong implication for zvknhb. (PR #66860)

2023-09-20 Thread Brandon Wu via cfe-commits
@@ -599,15 +599,21 @@ def HasStdExtZvkned : Predicate<"Subtarget->hasStdExtZvkned()">, def FeatureStdExtZvknha : SubtargetFeature<"experimental-zvknha", "HasStdExtZvknha", "true", "'Zvknha' (Vector SHA-2 (SHA-256 only))">; - -def FeatureStdExtZvknhb

[clang] [clang][AST][ASTImporter] improve AST comparasion on VarDecl & GotoStmt (PR #66976)

2023-09-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Changes improve AST comparasion on VarDecl & GotoStmt: 1. VarDecl should not be ignored, 2. GotoStmt has no children, it should be handle explicitly. Reviewed By: donat.nagy Differential Revision: https://reviews.llvm.org/D159519 --- Full dif

[clang] b8f056d - [clang][AST][ASTImporter] improve AST comparasion on VarDecl & GotoStmt (#66976)

2023-09-20 Thread via cfe-commits
Author: Qizhi Hu Date: 2023-09-21T13:13:43+08:00 New Revision: b8f056de025f5047bfed5573e65a8c840dbb76d4 URL: https://github.com/llvm/llvm-project/commit/b8f056de025f5047bfed5573e65a8c840dbb76d4 DIFF: https://github.com/llvm/llvm-project/commit/b8f056de025f5047bfed5573e65a8c840dbb76d4.diff LOG:

[PATCH] D159519: [clang][AST][ASTImporter] improve AST comparasion on VarDecl & GotoStmt

2023-09-20 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGb8f056de025f: [clang][AST][ASTImporter] improve AST comparasion on VarDecl & GotoStmt (#66976) (authored by jcsxky, committed by GitHub ). Repository: rG LLVM Github Monorepo CHANG

[clang] [clang][AST][ASTImporter] improve AST comparasion on VarDecl & GotoStmt (PR #66976)

2023-09-20 Thread Qizhi Hu via cfe-commits
https://github.com/jcsxky closed https://github.com/llvm/llvm-project/pull/66976 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Fix wrong implication for zvknhb. (PR #66860)

2023-09-20 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat updated https://github.com/llvm/llvm-project/pull/66860 >From 3c28f7bace91dc4edd5e87b9f1a36d100cf38318 Mon Sep 17 00:00:00 2001 From: 4vtomat Date: Tue, 19 Sep 2023 23:06:01 -0700 Subject: [PATCH 1/2] [RISCV] Fix wrong implication for zvknhb. --- clang/include/clang

[clang] [RISCV] Fix wrong implication for zvknhb. (PR #66860)

2023-09-20 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat resolved https://github.com/llvm/llvm-project/pull/66860 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

2023-09-20 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay approved this pull request. Can a Haiku developer confirm that these changes work on Haiku? https://github.com/llvm/llvm-project/pull/66038 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bi

[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

2023-09-20 Thread Fangrui Song via cfe-commits
@@ -15,30 +15,53 @@ namespace clang { namespace driver { +namespace tools { + +/// Directly call GNU Binutils assembler and linker +namespace haiku { +class LLVM_LIBRARY_VISIBILITY Linker : public Tool { MaskRay wrote: `final` https://github.com/llvm/llvm-pr

[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

2023-09-20 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/66038 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

2023-09-20 Thread Fangrui Song via cfe-commits
@@ -36,3 +36,32 @@ // CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/gnu" // CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/posix" // CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers" + +// Check x86_64-unkn

[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

2023-09-20 Thread Fangrui Song via cfe-commits
@@ -9,20 +9,142 @@ #include "Haiku.h" #include "CommonArgs.h" #include "clang/Config/config.h" +#include "clang/Driver/Compilation.h" #include "llvm/Support/Path.h" using namespace clang::driver; +using namespace clang::driver::tools; using namespace clang::driver::toolcha

[clang] [clang-format] Don't split "DPI"/"DPI-C" in Verilog imports (PR #66951)

2023-09-20 Thread Arthur Eubanks via cfe-commits
https://github.com/aeubanks updated https://github.com/llvm/llvm-project/pull/66951 >From a956ea32c145d84ee771c985ceb3becbd03f4022 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Wed, 20 Sep 2023 13:42:20 -0700 Subject: [PATCH 1/2] [clang-format] Don't split "DPI"/"DPI-C" in imports The sp

[clang-tools-extra] [clang-analysis]Fix false positive in mutation check when using pointer to member function (PR #66846)

2023-09-20 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 updated https://github.com/llvm/llvm-project/pull/66846 >From 6d8e737ab1a883371a7491b676e1e202a087701f Mon Sep 17 00:00:00 2001 From: Congcong Cai Date: Tue, 19 Sep 2023 16:15:20 +0800 Subject: [PATCH 1/2] [clang-analysis]Fix false positive in mutation check when

[clang] 265d48a - Re-apply "[Parse] Split incremental-extensions" (#66446)

2023-09-20 Thread via cfe-commits
Author: Ben Barham Date: 2023-09-20T23:35:34-07:00 New Revision: 265d48a02d2453aaf2d29eefbfedd3595220f4e6 URL: https://github.com/llvm/llvm-project/commit/265d48a02d2453aaf2d29eefbfedd3595220f4e6 DIFF: https://github.com/llvm/llvm-project/commit/265d48a02d2453aaf2d29eefbfedd3595220f4e6.diff LO

[clang] Re-apply "[Parse] Split incremental-extensions" (PR #66446)

2023-09-20 Thread Ben Barham via cfe-commits
https://github.com/bnbarham closed https://github.com/llvm/llvm-project/pull/66446 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][AST] fix lack comparison of declRefExpr in ASTStructuralEquivalence (PR #66041)

2023-09-20 Thread via cfe-commits
https://github.com/mzyKi updated https://github.com/llvm/llvm-project/pull/66041 >From 7e4a54f2b4f6aa9611e10580b3b7bfeea4659bea Mon Sep 17 00:00:00 2001 From: miaozhiyuan Date: Tue, 12 Sep 2023 10:51:35 +0800 Subject: [PATCH] [clang][AST] fix lack comparison of declRefExpr in ASTStructuralEquiv

[clang] 3542168 - [clang][AST] fix lack comparison of declRefExpr in ASTStructuralEquivalence (#66041)

2023-09-20 Thread via cfe-commits
Author: Sunrise Date: 2023-09-21T14:55:19+08:00 New Revision: 3542168be0a0f3bb88b5298e4463c185a69f0357 URL: https://github.com/llvm/llvm-project/commit/3542168be0a0f3bb88b5298e4463c185a69f0357 DIFF: https://github.com/llvm/llvm-project/commit/3542168be0a0f3bb88b5298e4463c185a69f0357.diff LOG:

[clang] [clang][AST] fix lack comparison of declRefExpr in ASTStructuralEquivalence (PR #66041)

2023-09-20 Thread via cfe-commits
https://github.com/mzyKi closed https://github.com/llvm/llvm-project/pull/66041 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D152206: [Basic] Support 64-bit x86 target for UEFI

2023-09-20 Thread Petr Hosek via Phabricator via cfe-commits
phosek added a comment. Would it be possible to split up the LLVM changes into another change so we can land it separately from the Clang support? Comment at: llvm/lib/Target/X86/X86Subtarget.h:337 - bool isTargetWin64() const { return Is64Bit && isOSWindows(); } + bool is

<    1   2   3   4   5