[clang] ed506dd - [DebugMetadata] Simplify handling subprogram's retainedNodes field. NFCI (1/7)

2023-06-12 Thread Vladislav Dzhidzhoev via cfe-commits
Author: Vladislav Dzhidzhoev Date: 2023-06-12T18:38:47+02:00 New Revision: ed506dd6cecd9653cf9202bfe195891a33482852 URL: https://github.com/llvm/llvm-project/commit/ed506dd6cecd9653cf9202bfe195891a33482852 DIFF:

[PATCH] D144999: [Clang][MC][MachO]Only emits compact-unwind format for "canonical" personality symbols. For the rest, use DWARFs.

2023-06-12 Thread Michael Buch via Phabricator via cfe-commits
Michael137 added a comment. In D144999#4409671 , @oontvoo wrote: > P.S This might have the same root-cause with the previous comment and could > be fixed by D152540 as well. > (not able to repro the failures yet -

[PATCH] D152554: [OpenMP] Migrate deviice code privatization from Clang CodeGen to OMPIRBuilder

2023-06-12 Thread Akash Banerjee via Phabricator via cfe-commits
TIFitis updated this revision to Diff 530548. TIFitis added a comment. Rebased Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152554/new/ https://reviews.llvm.org/D152554 Files: clang/lib/CodeGen/CGOpenMPRuntime.cpp

[PATCH] D152433: [ARM,AArch64] Add a full set of -mtp= options.

2023-06-12 Thread Simon Tatham via Phabricator via cfe-commits
simon_tatham updated this revision to Diff 530544. simon_tatham added a comment. Fixed the isReadTPSoft predicate (sorry – I always get confused by when Tablegen autogenerates those predicates and when it doesn't), and reorganised the tests. I couldn't find any existing test file, so I made a

[PATCH] D152720: [clangd][ObjC] Support ObjC class rename from implementation decls

2023-06-12 Thread David Goldman via Phabricator via cfe-commits
dgoldman created this revision. dgoldman added a reviewer: kadircet. Herald added a subscriber: arphaman. Herald added a project: All. dgoldman requested review of this revision. Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov. Herald added a project: clang-tools-extra. Repository:

[PATCH] D150860: [OpenMP] Change clang emitTargetDataCalls to use OMPIRBuilder

2023-06-12 Thread Akash Banerjee via Phabricator via cfe-commits
TIFitis updated this revision to Diff 530533. TIFitis marked an inline comment as done. TIFitis added a comment. Rebased Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D150860/new/ https://reviews.llvm.org/D150860 Files:

[PATCH] D152713: [clang-tidy] Correct sizeof/alignas handling in misc-redundant-expression

2023-06-12 Thread Piotr Zegar via Phabricator via cfe-commits
PiotrZSL created this revision. PiotrZSL added reviewers: njames93, carlosgalvezp, Izaron, fwolff. Herald added a subscriber: xazax.hun. Herald added a project: All. PiotrZSL requested review of this revision. Herald added a project: clang-tools-extra. Herald added a subscriber: cfe-commits.

[PATCH] D146557: [MLIR][OpenMP] Refactoring createTargetData in OMPIRBuilder

2023-06-12 Thread Akash Banerjee via Phabricator via cfe-commits
TIFitis added inline comments. Comment at: llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp:4727 + Builder.ClearInsertionPoint(); +} + jdoerfert wrote: > This function doesn't make sense to me. For one, I don't know what a "unreal > block" is. Nor would I have

[PATCH] D146557: [MLIR][OpenMP] Refactoring createTargetData in OMPIRBuilder

2023-06-12 Thread Akash Banerjee via Phabricator via cfe-commits
TIFitis updated this revision to Diff 530518. TIFitis marked 5 inline comments as done and an inline comment as not done. TIFitis added a comment. Addressed reviewer comments. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D146557/new/

[clang] b18ca72 - Revert "[Driver] Mark many target-specific driver-only options as TargetSpecific"

2023-06-12 Thread Hans Wennborg via cfe-commits
Author: Hans Wennborg Date: 2023-06-12T17:18:09+02:00 New Revision: b18ca7296ef16700fadac98abe7fac8c8b44b4da URL: https://github.com/llvm/llvm-project/commit/b18ca7296ef16700fadac98abe7fac8c8b44b4da DIFF: https://github.com/llvm/llvm-project/commit/b18ca7296ef16700fadac98abe7fac8c8b44b4da.diff

[clang] 583371b - [FlowSensitive] Use {DenseMapBase, StringMap}::lookup (NFC)

2023-06-12 Thread Kazu Hirata via cfe-commits
Author: Kazu Hirata Date: 2023-06-12T08:11:01-07:00 New Revision: 583371be4d341b92de8fe2fa0261b88c404ed31d URL: https://github.com/llvm/llvm-project/commit/583371be4d341b92de8fe2fa0261b88c404ed31d DIFF: https://github.com/llvm/llvm-project/commit/583371be4d341b92de8fe2fa0261b88c404ed31d.diff

[PATCH] D152707: [clang][Sema] Provide source range to several Wunused warnings

2023-06-12 Thread Timm Bäder via Phabricator via cfe-commits
tbaeder added inline comments. Comment at: clang/test/Misc/diag-unused-source-ranges.h:1 +static void thing(void) {} Moving this file to `Inputs/` would make sense I think. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D152627: [RISCV] Change the immediate argument to Zvk intrinsics/builtins to i8.

2023-06-12 Thread Alex Bradbury via Phabricator via cfe-commits
asb added a comment. The patch title should indicate "from i8 to i32" or similar? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152627/new/ https://reviews.llvm.org/D152627 ___ cfe-commits mailing list

[PATCH] D152707: [clang][Sema] Provide source range to several Wunused warnings

2023-06-12 Thread Timm Bäder via Phabricator via cfe-commits
tbaeder added a comment. Precommit-CI also found some problems on Windows Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152707/new/ https://reviews.llvm.org/D152707 ___ cfe-commits mailing list

[PATCH] D152707: [clang][Sema] Provide source range to several Wunused warnings

2023-06-12 Thread Timm Bäder via Phabricator via cfe-commits
tbaeder added inline comments. Comment at: clang/test/Misc/diag-unused-source-ranges.cpp:1 +// RUN: %clang -fsyntax-only -Wunused -Wunused-template -Wunused-exception-parameter -Wunused-member-function -fdiagnostics-print-source-range-info %s 2>&1 | FileCheck %s

[PATCH] D149872: [OpenMP][OMPIRBuilder] Migrate emitOffloadingArrays and EmitNonContiguousDescriptor from Clang

2023-06-12 Thread Akash Banerjee via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG3401a5f7584a: [OpenMP][OMPIRBuilder] Migrate emitOffloadingArrays and… (authored by TIFitis). Repository: rG LLVM Github Monorepo CHANGES SINCE

[clang] 3401a5f - [OpenMP][OMPIRBuilder] Migrate emitOffloadingArrays and EmitNonContiguousDescriptor from Clang

2023-06-12 Thread Akash Banerjee via cfe-commits
Author: Akash Banerjee Date: 2023-06-12T15:43:09+01:00 New Revision: 3401a5f7584a2f12a90a7538aee2ae37038c82a9 URL: https://github.com/llvm/llvm-project/commit/3401a5f7584a2f12a90a7538aee2ae37038c82a9 DIFF:

[PATCH] D152090: [clang][Driver] Add -fcaret-diagnostics-max-lines= as a driver option

2023-06-12 Thread Tom Weaver via Phabricator via cfe-commits
TWeaver added a comment. Thanks for the fix!  Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152090/new/ https://reviews.llvm.org/D152090 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D149872: [OpenMP][OMPIRBuilder] Migrate emitOffloadingArrays and EmitNonContiguousDescriptor from Clang

2023-06-12 Thread Akash Banerjee via Phabricator via cfe-commits
TIFitis updated this revision to Diff 530508. TIFitis marked 4 inline comments as done. TIFitis added a comment. Addressed reviewer comments. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149872/new/ https://reviews.llvm.org/D149872 Files:

[PATCH] D149444: [ARM] Allow codegen for Armv6m eXecute-Only (XO) sections

2023-06-12 Thread Ties Stuij via Phabricator via cfe-commits
stuij updated this revision to Diff 530505. stuij marked 2 inline comments as done. stuij added a comment. addressed review comments Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149444/new/ https://reviews.llvm.org/D149444 Files:

[PATCH] D152708: [RFC][Draft] Enable primitive support for Two-Level Line Tables in LLVM

2023-06-12 Thread Adrian Prantl via Phabricator via cfe-commits
aprantl added a comment. Thanks for prototyping this! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152708/new/ https://reviews.llvm.org/D152708 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D152083: [clang] Warning for uninitialized elements in fixed-size arrays

2023-06-12 Thread Louis Burda via Phabricator via cfe-commits
Sinitax updated this revision to Diff 530501. Sinitax added a comment. Rebase patch against branch main. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152083/new/ https://reviews.llvm.org/D152083 Files: clang/docs/ReleaseNotes.rst clang/include/clang/Basic/DiagnosticGroups.td

[clang] aa28875 - [clang][tests] Replace a %clang++ with %clang

2023-06-12 Thread Timm Bäder via cfe-commits
Author: Timm Bäder Date: 2023-06-12T15:42:26+02:00 New Revision: aa28875a745d4d70f491b59e1b50f592994c923b URL: https://github.com/llvm/llvm-project/commit/aa28875a745d4d70f491b59e1b50f592994c923b DIFF: https://github.com/llvm/llvm-project/commit/aa28875a745d4d70f491b59e1b50f592994c923b.diff

[PATCH] D149548: [IR] Update to use new shufflevector semantics

2023-06-12 Thread Ulrich Weigand via Phabricator via cfe-commits
uweigand added a comment. In D149548#4413639 , @nlopes wrote: > If a vector is fully initialized with `insertvector` (i.e., one operation per > index), then the value of the base vector is irrelevant. It can be poison. > Poison in vectors is

[PATCH] D152391: [Clang] Allow bitcode linking when the input is LLVM-IR

2023-06-12 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 added a comment. ping Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152391/new/ https://reviews.llvm.org/D152391 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D152090: [clang][Driver] Add -fcaret-diagnostics-max-lines= as a driver option

2023-06-12 Thread Tom Weaver via Phabricator via cfe-commits
TWeaver added a comment. Hello and good afternoon from the UK, It looks as though this change has caused the following buildbot to start failing (it's temporarily on staging server so you may not have seen it on the public build bot page):

[PATCH] D152708: [RFC][Draft] Enable primitive support for Two-Level Line Tables in LLVM

2023-06-12 Thread Stephen Tozer via Phabricator via cfe-commits
StephenTozer created this revision. StephenTozer added a project: debug-info. Herald added subscribers: ormris, hiraditya. Herald added a project: All. StephenTozer requested review of this revision. Herald added subscribers: llvm-commits, lldb-commits, cfe-commits, jplehr, sstefan1, MaskRay.

[PATCH] D150848: [clang-format] Respect ColumnLimit 0 lines breaks in inline asm

2023-06-12 Thread Emilia Kond via Phabricator via cfe-commits
rymiel updated this revision to Diff 530486. rymiel added a comment. Apply suggestions from review Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D150848/new/ https://reviews.llvm.org/D150848 Files: clang/lib/Format/ContinuationIndenter.cpp

[PATCH] D152707: [clang][Sema] Provide source range to several Wunused warnings

2023-06-12 Thread Takuya Shimizu via Phabricator via cfe-commits
hazohelet created this revision. hazohelet added reviewers: aaron.ballman, cjdb, tbaeder. Herald added a project: All. hazohelet requested review of this revision. Herald added a project: clang. When the diagnosed function/variable is a template specialization, the source range covers the

[PATCH] D149548: [IR] Update to use new shufflevector semantics

2023-06-12 Thread Nuno Lopes via Phabricator via cfe-commits
nlopes added a comment. In D149548#4413598 , @uweigand wrote: > So the semantics of the `vec_promote(a, b)` intrinsic is defined as: > >> Returns a vector with a in element position b. The result is a vector with a >> in element position b. [...] The

[PATCH] D152696: Prevent deadlocks in death tests.

2023-06-12 Thread Hans Wennborg via Phabricator via cfe-commits
hans added a comment. I'm no expert here, but I went to check what Chromium does, and it seems to set the death_test_style to "threadsafe" for the whole test suite: https://source.chromium.org/chromium/chromium/src/+/main:base/test/test_suite.cc;l=367 > As the page linked above notes, "flags

[PATCH] D147717: [C++20] Claim full support for consteval again

2023-06-12 Thread Mariya Podchishchaeva via Phabricator via cfe-commits
Fznamznon updated this revision to Diff 530477. Fznamznon added a comment. Rebase, add a release note Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147717/new/ https://reviews.llvm.org/D147717 Files: clang/docs/ReleaseNotes.rst

[PATCH] D149548: [IR] Update to use new shufflevector semantics

2023-06-12 Thread Ulrich Weigand via Phabricator via cfe-commits
uweigand added a comment. So the semantics of the `vec_promote(a, b)` intrinsic is defined as: > Returns a vector with a in element position b. The result is a vector with a > in element position b. [...] The other elements of the vector are undefined. This is currently implemented by using

[PATCH] D147717: [C++20] Claim full support for consteval again

2023-06-12 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added a comment. In D147717#4413593 , @Fznamznon wrote: > In D147717#4413522 , @aaron.ballman > wrote: > >> LGTM (though I wonder if we should add a release note as well) > > I can add a note

[PATCH] D147717: [C++20] Claim full support for consteval again

2023-06-12 Thread Mariya Podchishchaeva via Phabricator via cfe-commits
Fznamznon added a comment. In D147717#4413522 , @aaron.ballman wrote: > LGTM (though I wonder if we should add a release note as well) I can add a note saying that the macro is now defined. Is somewhere under `C++ Language Changes` title the right

[PATCH] D152625: [clang-tidy] run-clang-tidy: forward warnings-as-errors argument

2023-06-12 Thread Piotr Zegar via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG2499beeb5a3d: [clang-tidy] run-clang-tidy: forward warnings-as-errors argument (authored by indev29, committed by PiotrZSL). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[clang-tools-extra] 2499bee - [clang-tidy] run-clang-tidy: forward warnings-as-errors argument

2023-06-12 Thread Piotr Zegar via cfe-commits
Author: indev Date: 2023-06-12T12:24:08Z New Revision: 2499beeb5a3d3d2062b14be8ae0f967ef44968ba URL: https://github.com/llvm/llvm-project/commit/2499beeb5a3d3d2062b14be8ae0f967ef44968ba DIFF: https://github.com/llvm/llvm-project/commit/2499beeb5a3d3d2062b14be8ae0f967ef44968ba.diff LOG:

[PATCH] D152683: [clang][dataflow] Model pointer value for builtin functions.

2023-06-12 Thread Martin Böhme via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG3f31d3204bd2: [clang][dataflow] Model pointer value for builtin functions. (authored by mboehme). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152683/new/

[clang] 3f31d32 - [clang][dataflow] Model pointer value for builtin functions.

2023-06-12 Thread Martin Braenne via cfe-commits
Author: Martin Braenne Date: 2023-06-12T12:23:18Z New Revision: 3f31d3204bd2726fa8e5c56ea27c8bba0074790e URL: https://github.com/llvm/llvm-project/commit/3f31d3204bd2726fa8e5c56ea27c8bba0074790e DIFF: https://github.com/llvm/llvm-project/commit/3f31d3204bd2726fa8e5c56ea27c8bba0074790e.diff

[PATCH] D152697: AMDGPU: Add llvm.amdgcn.log intrinsic

2023-06-12 Thread Jay Foad via Phabricator via cfe-commits
foad accepted this revision. foad added a comment. This revision is now accepted and ready to land. Seems fine. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152697/new/ https://reviews.llvm.org/D152697 ___ cfe-commits mailing list

[PATCH] D152689: [NFC] Remove dead conditionals

2023-06-12 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added a subscriber: rjmccall. aaron.ballman added a comment. The other two changes LGTM, but the objc changes bring up a question about what the correct fix is. Comment at: clang/lib/CodeGen/CGObjCMac.cpp:3812 llvm::GlobalVariable *GV; - if (ForClass) -

[PATCH] D147717: [C++20] Claim full support for consteval again

2023-06-12 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. LGTM (though I wonder if we should add a release note as well) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147717/new/ https://reviews.llvm.org/D147717

[PATCH] D148088: [RFC][clangd] Move preamble index out of document open critical path

2023-06-12 Thread Ivan Murashko via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGa8ad413f0d18: [RFC][clangd] Move preamble index out of document open critical path (authored by kuganv, committed by ivanmurashko). Repository:

[clang] a8ad413 - [RFC][clangd] Move preamble index out of document open critical path

2023-06-12 Thread Ivan Murashko via cfe-commits
Author: Kugan Vivekanandarajah Date: 2023-06-12T12:56:41+01:00 New Revision: a8ad413f0d18c07a4adaa0d547e0096874d809c5 URL: https://github.com/llvm/llvm-project/commit/a8ad413f0d18c07a4adaa0d547e0096874d809c5 DIFF:

[PATCH] D152625: [clang-tidy] run-clang-tidy: forward warnings-as-errors argument

2023-06-12 Thread Maxim Kolesnikov via Phabricator via cfe-commits
indev29 added a comment. In D152625#4413366 , @PiotrZSL wrote: > In D152625#4413242 , @indev29 wrote: > >> @PiotrZSL could you please commit? I don't think I have access yet. > > Author & Email please for git,

[PATCH] D147218: [OpenMP][Flang][MLIR] Lowering of OpenMP requires directive from parse tree to MLIR

2023-06-12 Thread Sergio Afonso via Phabricator via cfe-commits
skatrak added a comment. Thank you for the feedback. I expect I will be able to refactor the `analyzeOpenMPDeclarative()` function to OpenMP.cpp as suggested, but I'll bring that together with other changes to make it integrate cleanly with the latest changes to D149337

[PATCH] D152697: AMDGPU: Add llvm.amdgcn.log intrinsic

2023-06-12 Thread Matt Arsenault via Phabricator via cfe-commits
arsenm created this revision. arsenm added reviewers: AMDGPU, foad, rampitec, Pierre-vh, cdevadas, jhuber6. Herald added subscribers: StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl. Herald added a project: All. arsenm requested review of this revision. Herald added a

[PATCH] D152625: [clang-tidy] run-clang-tidy: forward warnings-as-errors argument

2023-06-12 Thread Piotr Zegar via Phabricator via cfe-commits
PiotrZSL added a comment. In D152625#4413242 , @indev29 wrote: > @PiotrZSL could you please commit? I don't think I have access yet. Author & Email please for git, under which should it be delivered. Repository: rG LLVM Github Monorepo CHANGES

[PATCH] D152443: Add operator style options to clang-format

2023-06-12 Thread Björn Schäpers via Phabricator via cfe-commits
HazardyKnusperkeks added inline comments. Comment at: clang/lib/Format/TokenAnnotator.cpp:4203 return true; - -if (Left.is(tok::kw_operator)) - return Right.is(tok::coloncolon); +// Operator overloads, calls and address-of expressions +if

[PATCH] D152696: Prevent deadlocks in death tests.

2023-06-12 Thread Martin Böhme via Phabricator via cfe-commits
mboehme created this revision. Herald added a subscriber: thopre. Herald added a project: All. mboehme requested review of this revision. Herald added projects: clang, LLVM. Herald added subscribers: llvm-commits, cfe-commits. We have recently started seeing deadlocks in death tests while running

[PATCH] D152090: [clang][Driver] Add -fcaret-diagnostics-max-lines= as a driver option

2023-06-12 Thread Timm Bäder via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. tbaeder marked an inline comment as done. Closed by commit rG5cc721b3f96e: [clang][Driver] Add -fcaret-diagnostics-max-lines= as a driver option (authored by tbaeder).

[clang] 5cc721b - [clang][Driver] Add -fcaret-diagnostics-max-lines= as a driver option

2023-06-12 Thread Timm Bäder via cfe-commits
Author: Timm Bäder Date: 2023-06-12T12:44:25+02:00 New Revision: 5cc721b3f96e40524cd95e7d4aabb6727de83ee3 URL: https://github.com/llvm/llvm-project/commit/5cc721b3f96e40524cd95e7d4aabb6727de83ee3 DIFF: https://github.com/llvm/llvm-project/commit/5cc721b3f96e40524cd95e7d4aabb6727de83ee3.diff

[clang] 8a19af5 - [Clang] Remove uses of PointerType::getWithSamePointeeType (NFC)

2023-06-12 Thread Nikita Popov via cfe-commits
Author: Nikita Popov Date: 2023-06-12T12:18:28+02:00 New Revision: 8a19af513d549c173b5919fe697828c84cecc396 URL: https://github.com/llvm/llvm-project/commit/8a19af513d549c173b5919fe697828c84cecc396 DIFF: https://github.com/llvm/llvm-project/commit/8a19af513d549c173b5919fe697828c84cecc396.diff

[PATCH] D152625: [clang-tidy] run-clang-tidy: forward warnings-as-errors argument

2023-06-12 Thread Maxim Kolesnikov via Phabricator via cfe-commits
indev29 added a comment. @PiotrZSL could you please commit? I don't think I have access yet. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152625/new/ https://reviews.llvm.org/D152625 ___ cfe-commits

[PATCH] D152686: [clangd] Enforce strict unused includes by default

2023-06-12 Thread Kadir Cetinkaya via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. kadircet marked an inline comment as done. Closed by commit rGea20f339d91f: [clangd] Enforce strict unused includes by default (authored by kadircet). Changed prior

[clang-tools-extra] ea20f33 - [clangd] Enforce strict unused includes by default

2023-06-12 Thread Kadir Cetinkaya via cfe-commits
Author: Kadir Cetinkaya Date: 2023-06-12T11:47:03+02:00 New Revision: ea20f339d91f57694899c29198f2dfb41bf9a03a URL: https://github.com/llvm/llvm-project/commit/ea20f339d91f57694899c29198f2dfb41bf9a03a DIFF:

[PATCH] D152685: [clangd] Decouple IncludeCleaner implementation from Config

2023-06-12 Thread Kadir Cetinkaya via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. kadircet marked an inline comment as done. Closed by commit rG031ffc3e0645: [clangd] Decouple IncludeCleaner implementation from Config (authored by kadircet). Changed prior to commit:

[PATCH] D147233: [clangd] Enable unused-include diagnostic by default.

2023-06-12 Thread Haojian Wu via Phabricator via cfe-commits
hokein abandoned this revision. hokein added a comment. Abandon in favour of https://reviews.llvm.org/D152686. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147233/new/ https://reviews.llvm.org/D147233

[clang-tools-extra] 031ffc3 - [clangd] Decouple IncludeCleaner implementation from Config

2023-06-12 Thread Kadir Cetinkaya via cfe-commits
Author: Kadir Cetinkaya Date: 2023-06-12T11:38:58+02:00 New Revision: 031ffc3e064525731914eff2ea0dfab1ff34cce1 URL: https://github.com/llvm/llvm-project/commit/031ffc3e064525731914eff2ea0dfab1ff34cce1 DIFF:

[PATCH] D147227: [clangd] Support Config in TestTU.

2023-06-12 Thread Haojian Wu via Phabricator via cfe-commits
hokein abandoned this revision. hokein added a comment. abandon this in favour of https://reviews.llvm.org/D152685/ Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147227/new/ https://reviews.llvm.org/D147227

[PATCH] D152686: [clangd] Enforce strict unused includes by default

2023-06-12 Thread Haojian Wu via Phabricator via cfe-commits
hokein accepted this revision. hokein added inline comments. This revision is now accepted and ready to land. Comment at: clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp:9 +#include

[PATCH] D152685: [clangd] Decouple IncludeCleaner implementation from Config

2023-06-12 Thread Haojian Wu via Phabricator via cfe-commits
hokein accepted this revision. hokein added a comment. This revision is now accepted and ready to land. Thanks, this looks good! Comment at: clang-tools-extra/clangd/IncludeCleaner.h:60 +issueIncludeCleanerDiagnostics(ParsedAST , llvm::StringRef Code, +

[PATCH] D147717: [C++20] Claim full support for consteval again

2023-06-12 Thread Mariya Podchishchaeva via Phabricator via cfe-commits
Fznamznon added a comment. https://github.com/llvm/llvm-project/issues/62886 has been fixed, I'm trying to figure out or at least reduce https://github.com/llvm/llvm-project/issues/60709 so it doesn't have headers included, but no progress so far. Repository: rG LLVM Github Monorepo

[PATCH] D147717: [C++20][NFC] Claim full support for consteval again

2023-06-12 Thread Mariya Podchishchaeva via Phabricator via cfe-commits
Fznamznon updated this revision to Diff 530434. Fznamznon added a comment. Rebase, update value of macro since P2564 is implemented now Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147717/new/

[PATCH] D152689: [NFC] Remove dead conditionals

2023-06-12 Thread Sindhu Chittireddy via Phabricator via cfe-commits
schittir created this revision. schittir added reviewers: tahonermann, aaron.ballman, erichkeane. Herald added a subscriber: hiraditya. Herald added a project: All. schittir requested review of this revision. Herald added projects: clang, LLVM. Herald added subscribers: llvm-commits, cfe-commits.

[PATCH] D150124: [index][clangd] Consider labels when indexing function bodies

2023-06-12 Thread Christian Kandeler via Phabricator via cfe-commits
ckandeler added a comment. ping Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D150124/new/ https://reviews.llvm.org/D150124 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D152687: [clangd] Turn on missing-include diags by default

2023-06-12 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet created this revision. Herald added a subscriber: arphaman. Herald added a project: All. kadircet requested review of this revision. Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov. Herald added a project: clang-tools-extra. By disabling include-cleaner analysis for

[PATCH] D152686: [clangd] Enforce strict unused includes by default

2023-06-12 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet created this revision. kadircet added a reviewer: hokein. Herald added subscribers: ChuanqiXu, arphaman. Herald added a project: All. kadircet requested review of this revision. Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov. Herald added a project: clang-tools-extra.

[PATCH] D152685: [clangd] Decouple IncludeCleaner implementation from Config

2023-06-12 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet created this revision. kadircet added a reviewer: hokein. Herald added a subscriber: arphaman. Herald added a project: All. kadircet requested review of this revision. Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov. Herald added a project: clang-tools-extra. This should

[PATCH] D152369: [clang][dataflow][NFC] Expand comments on losing values in optional checker.

2023-06-12 Thread Martin Böhme via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGbbeda83090ad: [clang][dataflow][NFC] Expand comments on losing values in optional checker. (authored by mboehme). Repository: rG LLVM Github

[clang] bbeda83 - [clang][dataflow][NFC] Expand comments on losing values in optional checker.

2023-06-12 Thread Martin Braenne via cfe-commits
Author: Martin Braenne Date: 2023-06-12T08:46:34Z New Revision: bbeda83090adcb3609f9c1331b2345e7fa547f90 URL: https://github.com/llvm/llvm-project/commit/bbeda83090adcb3609f9c1331b2345e7fa547f90 DIFF: https://github.com/llvm/llvm-project/commit/bbeda83090adcb3609f9c1331b2345e7fa547f90.diff

[PATCH] D152369: [clang][dataflow][NFC] Expand comments on losing values in optional checker.

2023-06-12 Thread Martin Böhme via Phabricator via cfe-commits
mboehme added a comment. libcxx failures look unrelated (this is a comment-only change that doesn't touch libcxx) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152369/new/ https://reviews.llvm.org/D152369

[PATCH] D152436: [clang][analyzer] Move checker alpha.unix.StdCLibraryFunctions out of alpha.

2023-06-12 Thread Kristóf Umann via Phabricator via cfe-commits
Szelethus added a comment. In D152436#4411912 , @steakhal wrote: > In D152436#4408811 , @balazske > wrote: > >> In D152436#4408301 , @steakhal >> wrote: >> >>> I looked

[PATCH] D152683: [clang][dataflow] Model pointer value for builtin functions.

2023-06-12 Thread Martin Böhme via Phabricator via cfe-commits
mboehme created this revision. Herald added subscribers: martong, xazax.hun. Herald added a reviewer: NoQ. Herald added a project: All. mboehme requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. This fixes a false positive in the Crubit

[PATCH] D145767: [Verifier][NFC] Refactor check for associated metadata to allow multiple operands on AIX

2023-06-12 Thread Ting Wang via Phabricator via cfe-commits
tingwang planned changes to this revision. tingwang added a comment. Hi Matt @arsenm, thank you for your comments, and I will incorporate your suggestions in the next version. Since the review process of dependent patch https://reviews.llvm.org/D125095 didn't get any progress for a long time,

[PATCH] D152090: [clang][Driver] Add -fcaret-diagnostics-max-lines= as a driver option

2023-06-12 Thread Timm Bäder via Phabricator via cfe-commits
tbaeder marked an inline comment as done. tbaeder added inline comments. Comment at: clang/include/clang/Driver/Options.td:2303 + Group, Flags<[NoXarchOption, CC1Option, CoreOption]>, + HelpText<"Set the maximum number of source lines to show in a caret diagnostic">, +

[PATCH] D148088: [RFC][clangd] Move preamble index out of document open critical path

2023-06-12 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet accepted this revision. kadircet added a comment. This revision is now accepted and ready to land. thanks a lot for bearing with me, LGTM! let me know if i should land this for you. Comment at: clang-tools-extra/clangd/ClangdServer.cpp:165 bool

[PATCH] D152443: Add operator style options to clang-format

2023-06-12 Thread MyDeveloperDay via Phabricator via cfe-commits
MyDeveloperDay added a comment. did you cover the case where I have a namespaced, static foo::Bar->operator==() foo::Bar->m_oper->operator==() foo::Bar->m_oper.operator==() foo::Bar.operator==() Comment at: clang/lib/Format/TokenAnnotator.cpp:4207-4210 +if

[PATCH] D151397: [3/3][RISCV][POC] Model vxrm in C intrinsics for RVV fixed-point instruction vaadd, vasub

2023-06-12 Thread Yueh-Ting (eop) Chen via Phabricator via cfe-commits
eopXD updated this revision to Diff 530408. eopXD added a comment. Add semantic checking for the vxrm paramter. Test case are added `CodeGen/RISCV/rvv-intrinsics-handcrafted/{vaadd/vaaddu/vasub/vasubu}`. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D150602: [clang-tidy] Move formatDereference to FixitHintUtils

2023-06-12 Thread Piotr Zegar via Phabricator via cfe-commits
PiotrZSL reopened this revision. PiotrZSL added a comment. This revision is now accepted and ready to land. Looks like there is missing dependency in CMake: https://lab.llvm.org/buildbot/#/builders/57/builds/27531 FAILED: lib/libclangTidyUtils.so.17git : &&

[clang-tools-extra] 529633c - Revert "[clang-tidy] Move formatDereference to FixitHintUtils"

2023-06-12 Thread Piotr Zegar via cfe-commits
Author: Piotr Zegar Date: 2023-06-12T06:27:20Z New Revision: 529633ccfd7595d80f05a4efc7b700517e153770 URL: https://github.com/llvm/llvm-project/commit/529633ccfd7595d80f05a4efc7b700517e153770 DIFF: https://github.com/llvm/llvm-project/commit/529633ccfd7595d80f05a4efc7b700517e153770.diff LOG:

[PATCH] D152671: [doc][LoongArch] Add missed release note about `ual` feature addition

2023-06-12 Thread Lu Weining via Phabricator via cfe-commits
SixWeining created this revision. SixWeining added reviewers: xen0n, MaskRay, xry111, peter.smith, wangleiat. Herald added a project: All. SixWeining requested review of this revision. Herald added projects: clang, LLVM. Herald added subscribers: llvm-commits, cfe-commits. I meant to fold this

[PATCH] D150602: [clang-tidy] Move formatDereference to FixitHintUtils

2023-06-12 Thread Piotr Zegar via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG636c67275142: [clang-tidy] Move formatDereference to FixitHintUtils (authored by mikecrowe, committed by PiotrZSL). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D150602: [clang-tidy] Move formatDereference to FixitHintUtils

2023-06-12 Thread Piotr Zegar via Phabricator via cfe-commits
PiotrZSL added a comment. I will push this change, no point to keep it open. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D150602/new/ https://reviews.llvm.org/D150602 ___ cfe-commits mailing list

[clang-tools-extra] 636c672 - [clang-tidy] Move formatDereference to FixitHintUtils

2023-06-12 Thread Piotr Zegar via cfe-commits
Author: Mike Crowe Date: 2023-06-12T06:09:17Z New Revision: 636c672751425f1c73c28bea57c1913043cd21b2 URL: https://github.com/llvm/llvm-project/commit/636c672751425f1c73c28bea57c1913043cd21b2 DIFF: https://github.com/llvm/llvm-project/commit/636c672751425f1c73c28bea57c1913043cd21b2.diff LOG:

[PATCH] D133244: [clang-tidy] Readability-container-data-pointer adds new option to ignore Containers

2023-06-12 Thread Piotr Zegar via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG90bbe97036a1: [clang-tidy] Readability-container-data-pointer adds new option to ignore… (authored by felix642, committed by PiotrZSL). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[clang-tools-extra] 4099053 - [clang-tidy][NFC] Sort changes by check name in ReleaseNotes

2023-06-12 Thread Piotr Zegar via cfe-commits
Author: Piotr Zegar Date: 2023-06-12T06:07:27Z New Revision: 4099053646a051533a9b1016da665fc9854b18cb URL: https://github.com/llvm/llvm-project/commit/4099053646a051533a9b1016da665fc9854b18cb DIFF: https://github.com/llvm/llvm-project/commit/4099053646a051533a9b1016da665fc9854b18cb.diff LOG:

[clang-tools-extra] 90bbe97 - [clang-tidy] Readability-container-data-pointer adds new option to ignore Containers

2023-06-12 Thread Piotr Zegar via cfe-commits
Author: Felix Date: 2023-06-12T06:07:27Z New Revision: 90bbe97036a156156759f1555d760890321d50fc URL: https://github.com/llvm/llvm-project/commit/90bbe97036a156156759f1555d760890321d50fc DIFF: https://github.com/llvm/llvm-project/commit/90bbe97036a156156759f1555d760890321d50fc.diff LOG:

<    1   2