[clang] [Parse] Remove unused includes (NFC) (PR #141524)

2025-05-26 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/141524 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix a typo in documentation (PR #141382)

2025-05-24 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/141382 None >From e7b60cdd28b94d358959ef9551dc90735eceabc3 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 24 May 2025 15:03:46 -0700 Subject: [PATCH] [clang] Fix a typo in documentation --- clang/docs/

[clang] [clang] Use llvm::partition_point (NFC) (PR #141351)

2025-05-24 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/141351 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Serialization] Remove an unused local variable (NFC) (PR #141358)

2025-05-24 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/141358 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang] Default-construct values with DenseMap::try_emplace (NFC) (PR #141373)

2025-05-24 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/141373 try_emplace can default-construct values, so we do not need to do so on our own. >From c4590156c4dab5a70edca1056bc533a073f615e3 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 24 May 2025 11:24:36

[clang] [StaticAnalyzer] Use llvm::is_contained (NFC) (PR #141371)

2025-05-24 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/141371 None >From 4b31c73fb378e6f3d3ea8b272574397c1ac8418e Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 24 May 2025 11:48:54 -0700 Subject: [PATCH] [StaticAnalyzer] Use llvm::is_contained (NFC) --- .

[clang] [StaticAnalyzer] Use llvm::count (NFC) (PR #141370)

2025-05-24 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/141370 None >From 0d1f3e67da90cd8aaf153736d30db05bea224b0c Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 24 May 2025 08:54:32 -0700 Subject: [PATCH] [StaticAnalyzer] Use llvm::count (NFC) --- clang/un

[clang] [StaticAnalyzer] Use llvm::count (NFC) (PR #141370)

2025-05-24 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/141370 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [StaticAnalyzer] Use llvm::is_contained (NFC) (PR #141371)

2025-05-24 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/141371 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang] Default-construct values with DenseMap::try_emplace (NFC) (PR #141373)

2025-05-24 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/141373 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Use llvm::partition_point (NFC) (PR #141351)

2025-05-24 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/141351 None >From 1d24b61eff5dc9fb25a4769166374657041808a5 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 23 May 2025 22:53:30 -0700 Subject: [PATCH] [clang] Use llvm::partition_point (NFC) --- clang/l

[clang] [Serialization] Remove an unused local variable (NFC) (PR #141358)

2025-05-24 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/141358 Note that getTimestampFilename just constructs a file name, so it's mostly a "pure" function except possible heap allocation. >From c30f6c7c2ebe80ad84f36fd9e4172f5323779a97 Mon Sep 17 00:00:00 2001 From:

[clang] f3b404b - [TableGen] Fix a warning

2025-05-27 Thread Kazu Hirata via cfe-commits
Author: Kazu Hirata Date: 2025-05-27T09:08:45-07:00 New Revision: f3b404be973507432cf86c177978d9de708d850c URL: https://github.com/llvm/llvm-project/commit/f3b404be973507432cf86c177978d9de708d850c DIFF: https://github.com/llvm/llvm-project/commit/f3b404be973507432cf86c177978d9de708d850c.diff L

[clang] [HLSL] Implement `SpirvType` and `SpirvOpaqueType` (PR #134034)

2025-05-27 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: @cassiebeckley I'm getting the following warnings in lldb. Would you mind taking a look? Thanks! ``` lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4137:11: error: enumeration value 'HLSLInlineSpirv' not handled in switch [-Werror,-Wswitch] 4137 | switch (q

[clang] [HLSL] Implement `SpirvType` and `SpirvOpaqueType` (PR #134034)

2025-05-27 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: > @kazutakahirata sure, I’ll take a look @cassiebeckley I've posted #141687. Thanks! https://github.com/llvm/llvm-project/pull/134034 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman

[clang] [Basic] Use std::optional::value_or (NFC) (PR #140172)

2025-05-15 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/140172 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tools-extra] Use llvm::replace (NFC) (PR #140200)

2025-05-15 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/140200 None Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica

[clang] [clang] Use llvm::binary_search (NFC) (PR #140216)

2025-05-16 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/140216 None >From e5e7345a829d06f21277187b63a652d26f619fcb Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 16 May 2025 00:47:21 -0700 Subject: [PATCH] [clang] Use llvm::binary_search (NFC) --- clang/inc

[clang] [clang] Use llvm::find_if (NFC) (PR #140983)

2025-05-21 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/140983 None >From 5e16f3ea4637e1aab04a3f87f601a3e9c06c4449 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 21 May 2025 14:12:52 -0700 Subject: [PATCH] [clang] Use llvm::find_if (NFC) --- clang/lib/Analy

[clang] [clang] Use llvm::is_contained (NFC) (PR #140985)

2025-05-21 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/140985 None >From 9d1d55f8c5283b71cac4893cd5c39a38d4c55353 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 21 May 2025 14:09:49 -0700 Subject: [PATCH] [clang] Use llvm::is_contained (NFC) --- clang/incl

[clang] [clang] Use llvm::is_contained (NFC) (PR #140985)

2025-05-22 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/140985 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Add missing macro undefs in AttributeSpellingList emitter (PR #141090)

2025-05-22 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata approved this pull request. LGTM. I've verified that the warning goes away. Thank for fixing this quickly! https://github.com/llvm/llvm-project/pull/141090 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http

[clang] [Clang] Add missing macro undefs in AttributeSpellingList emitter (PR #141090)

2025-05-22 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/141090 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [lldb] [clang] Remove intrusive reference count from `DiagnosticOptions` (PR #139584)

2025-05-22 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: @jansvoboda11 I've revered your PR due buildbot failures above (and my local build failures with the same error messages). I'm happy to try your revised patch to see if it build cleanly. Thanks! https://github.com/llvm/llvm-project/pull/139584 _

[clang] [Clang] Add missing macro undefs in AttributeSpellingList emitter (PR #141090)

2025-05-22 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: > Could you please merge this to bring the buildbots back to green? Thanks! Done! https://github.com/llvm/llvm-project/pull/141090 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[clang] [clang-tools-extra] [lldb] [clang] Remove intrusive reference count from `DiagnosticOptions` (PR #139584)

2025-05-22 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: @jansvoboda11 I also see: ``` clang-tools-extra/clang-tidy/plugin/ClangTidyPlugin.cpp:45:51: error: too few arguments to function call, expected 2, have 1 45 | Context->setDiagnosticsEngine(DiagEngine.get()); | ~

[clang] [clang-tools-extra] [lldb] [clang] Remove intrusive reference count from `DiagnosticOptions` (PR #139584)

2025-05-22 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: > > @jansvoboda11 I've revered your PR due buildbot failures above (and my > > local build failures with the same error messages). I'm happy to try your > > revised patch to see if it build cleanly. Thanks! > > I already forward-fixed both failures: > [d25f95f](https://g

[clang] [clang-tools-extra] [lldb] [clang] Remove intrusive reference count from `DiagnosticOptions` (PR #139584)

2025-05-22 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: > Thanks, I'll fix those ASAP. @jansvoboda11 Please feel free to add me as a reviewer. I am happy to build things with your fix. https://github.com/llvm/llvm-project/pull/139584 ___ cfe-commits mailing list cfe-commits@lists.l

[clang] [clang-tools-extra] [clang] Fix LogDiagnosticPrinter.h and ClangTidyPlugin.cpp after 9e306ad4 (PR #141131)

2025-05-22 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: @jansvoboda11 With this PR, I still see: ``` clang/lib/Frontend/LogDiagnosticPrinter.cpp:24:7: error: member initializer 'DiagOpts' does not name a non-static data member or base class 24 | DiagOpts(DiagOpts) {} | ^~ ``` Would you mind

[clang] [clang-tools-extra] [clang] Fix LogDiagnosticPrinter.h and ClangTidyPlugin.cpp after 9e306ad4 (PR #141131)

2025-05-22 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: I still see: ``` /usr/local/google/home/kazu/dev/llvm/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:163:37: error: no member named 'Retain' in 'clang::DiagnosticOptions' 163 | static void retain(T *obj) { obj->Retain(); } |

[clang] [clang-tools-extra] [clang] Fix LogDiagnosticPrinter.h and ClangTidyPlugin.cpp after 9e306ad4 (PR #141131)

2025-05-22 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata approved this pull request. LGTM. I think this PR fixes all non-flang components AFAICT. Thanks! https://github.com/llvm/llvm-project/pull/141131 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists

[clang-tools-extra] [clang-tidy] Use std:::string::find with std::string_view (NFC) (PR #141188)

2025-05-22 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/141188 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CodeGen] Remove redundant calls to std::unique_ptr::get (NFC) (PR #141191)

2025-05-22 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/141191 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Use llvm::any_of (NFC) (PR #141315)

2025-05-23 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/141315 None >From 48c76559715b7a584ad167c6a43bc8ea02585d3d Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 15 May 2025 21:28:40 -0700 Subject: [PATCH] [clang-doc] Use llvm::any_of (NFC) --- clang-tools-

[clang] [clang] Use llvm::any_of (NFC) (PR #141314)

2025-05-23 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/141314 None >From e86781db12cfd119fb4c00267bba4a57b27a7c9b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 22 May 2025 21:10:06 -0700 Subject: [PATCH] [clang] Use llvm::any_of (NFC) --- clang/include/cl

[clang] [clang] Use llvm::any_of (NFC) (PR #141314)

2025-05-23 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/141314 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Use llvm::any_of (NFC) (PR #141315)

2025-05-23 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/141315 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 882e733 - [AST] Fix a warning

2025-05-29 Thread Kazu Hirata via cfe-commits
Author: Kazu Hirata Date: 2025-05-29T15:48:14-07:00 New Revision: 882e7331c4ba5582d3881b7bb93c0952e601336b URL: https://github.com/llvm/llvm-project/commit/882e7331c4ba5582d3881b7bb93c0952e601336b DIFF: https://github.com/llvm/llvm-project/commit/882e7331c4ba5582d3881b7bb93c0952e601336b.diff L

[clang] [clang][bytecode] Make some builtins no-ops (PR #141952)

2025-05-29 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: @tbaederr I've landed 882e7331c4ba5582d3881b7bb93c0952e601336b to fix a warning from this PR. Thanks! https://github.com/llvm/llvm-project/pull/141952 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.o

[clang] 28eb66b - [Sema] Fix a warning

2025-05-29 Thread Kazu Hirata via cfe-commits
Author: Kazu Hirata Date: 2025-05-29T09:10:19-07:00 New Revision: 28eb66b79413950e584b2c3d8581ae5dc858d6dc URL: https://github.com/llvm/llvm-project/commit/28eb66b79413950e584b2c3d8581ae5dc858d6dc DIFF: https://github.com/llvm/llvm-project/commit/28eb66b79413950e584b2c3d8581ae5dc858d6dc.diff L

[clang] [StaticAnalyzer] Remove unused includes (NFC) (PR #142301)

2025-05-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142301 These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-spec

[clang] [StaticAnalyzer] Remove unused includes (NFC) (PR #142301)

2025-05-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/142301 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [StaticAnalyzer] Remove unused includes (NFC) (PR #142301)

2025-05-31 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: Back to the drawing board. https://github.com/llvm/llvm-project/pull/142301 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Serialization] Remove unused includes (NFC) (PR #142300)

2025-05-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142300 These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-spec

[clang] [Analysis] Remove unused includes (NFC) (PR #142255)

2025-05-30 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142255 These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-spec

[clang] [Frontend] Remove unused includes (NFC) (PR #142256)

2025-05-30 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142256 These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-spec

[clang] [Tooling] Remove unused includes (NFC) (PR #142257)

2025-05-30 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142257 These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-spec

[clang] [Analysis] Remove unused includes (NFC) (PR #142255)

2025-05-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/142255 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Tooling] Remove unused includes (NFC) (PR #142257)

2025-05-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/142257 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Frontend] Remove unused includes (NFC) (PR #142256)

2025-05-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/142256 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Basic] Remove unused includes (NFC) (PR #142295)

2025-05-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142295 These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-spec

[clang] [Format] Remove unused includes (NFC) (PR #142296)

2025-05-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142296 These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-spec

[clang] [Basic] Remove unused includes (NFC) (PR #142295)

2025-05-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/142295 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Format] Remove unused includes (NFC) (PR #142296)

2025-05-31 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/142296 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Serialization] Remove unused includes (NFC) (PR #142300)

2025-06-01 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/142300 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

<    9   10   11   12   13   14