[clang] 71d6287 - [Clang][MIPS] Create correct linker arguments for Windows toolchains (#121041)

2025-01-19 Thread via cfe-commits
Author: Hervé Poussineau Date: 2025-01-20T15:11:26+08:00 New Revision: 71d6287f5b1e65466de5fe5c093852fa7903cdbe URL: https://github.com/llvm/llvm-project/commit/71d6287f5b1e65466de5fe5c093852fa7903cdbe DIFF: https://github.com/llvm/llvm-project/commit/71d6287f5b1e65466de5fe5c093852fa7903cdbe.di

[clang] [clang-tools-extra] [clang][CodeComplete] Use HeuristicResolver to resolve pointee types (PR #121315)

2025-01-19 Thread Nathan Ridge via cfe-commits
https://github.com/HighCommander4 updated https://github.com/llvm/llvm-project/pull/121315 >From 6cd526368a02fa2cf2e764eee295d356f73c3c1a Mon Sep 17 00:00:00 2001 From: Nathan Ridge Date: Mon, 20 Jan 2025 01:52:24 -0500 Subject: [PATCH 1/3] Upgrade HeuristicResolver to use QualType rather than

[clang] [clang-tools-extra] [clang][CodeComplete] Use HeuristicResolver to resolve pointee types (PR #121315)

2025-01-19 Thread Nathan Ridge via cfe-commits
HighCommander4 wrote: Rebased on top of #123549. (I forgot to set up the stacking properly, so the commits from #123549 show up here too. They will go away after #123549 merges and I rebase again.) Confirmed locally that `Clang.Index/complete-memfunc-cvquals.cpp` is now passing. https://gith

[clang] [clang-tools-extra] [clang][Sema] Respect const-qualification of methods in heuristic results (PR #123551)

2025-01-19 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 approved this pull request. Just a thought from my side, but not required at the moment because this aims to be as simple as possible. Otherwise LGTM https://github.com/llvm/llvm-project/pull/123551 ___ cfe-commits mailing l

[clang] [clang-tools-extra] [clang][Sema] Respect const-qualification of methods in heuristic results (PR #123551)

2025-01-19 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 edited https://github.com/llvm/llvm-project/pull/123551 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [clang][Sema] Respect const-qualification of methods in heuristic results (PR #123551)

2025-01-19 Thread Younan Zhang via cfe-commits
@@ -422,7 +425,15 @@ std::vector HeuristicResolverImpl::resolveDependentMember( if (!RD->hasDefinition()) return {}; RD = RD->getDefinition(); -return lookupDependentName(RD, Name, Filter); +return lookupDependentName(RD, Name, [&](const NamedDecl *ND) {

[clang] [lldb] [llvm] [StrTable] Switch intrinsics to StringTable and work around MSVC (PR #123548)

2025-01-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-adt @llvm/pr-subscribers-clang Author: Chandler Carruth (chandlerc) Changes **Note:** This PR depends on #123302 and #123308 -- only the last of the three commits should be reviewed here. --- Historically, the main example of *very* large string

[clang] [lldb] [llvm] Patch series to reapply #118734 and substantially improve it (PR #120534)

2025-01-19 Thread Chandler Carruth via cfe-commits
chandlerc wrote: > Some good news, everything seems to pass after your latest changes in this > PR! I didn't believe it at first and did a clean rebuild and test to verify. > In the end everything passed again. > > That being said, I am working on deploying an updated version of VS2019 to > o

[clang] [lldb] [llvm] [StrTable] Switch intrinsics to StringTable and work around MSVC (PR #123548)

2025-01-19 Thread Chandler Carruth via cfe-commits
https://github.com/chandlerc created https://github.com/llvm/llvm-project/pull/123548 **Note:** This PR depends on #123302 and #123308 -- only the last of the three commits should be reviewed here. --- Historically, the main example of *very* large string tables used the `EmitCharArray` to wo

[clang] [Clang] Reject declaring an alias template with the same name as its template parameter. (PR #123533)

2025-01-19 Thread Younan Zhang via cfe-commits
@@ -191,4 +192,4 @@ int g = sfinae_me(); // expected-error{{no matching function for call to 's namespace NullExceptionDecl { template auto get = []() { try { } catch(...) {}; return I; }; // expected-error{{initializer contains unexpanded parameter pack 'I'}} -} +}

[clang] [Clang] Reject declaring an alias template with the same name as its template parameter. (PR #123533)

2025-01-19 Thread Younan Zhang via cfe-commits
@@ -13464,6 +13464,14 @@ Decl *Sema::ActOnAliasDeclaration(Scope *S, AccessSpecifier AS, } TemplateParameterList *TemplateParams = TemplateParamLists[0]; +// Check shadowing of a template parameter name +for (NamedDecl *TP : TemplateParams->asArray()) { +

[clang] [llvm] [AArch64] FEAT_SPEv1p2 is optional in v8.7-A and v9.2-A (PR #123336)

2025-01-19 Thread Kinoshita Kotaro via cfe-commits
kinoshita-fj wrote: Because FUJITSU-MONAKA doesn't support FEAT_SPEv1p2, please remove it. https://github.com/llvm/llvm-project/pull/123336 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm

[clang] [Driver][FreeBSD] Remove FreeBSD/loongarch32 support (PR #122515)

2025-01-19 Thread Brad Smith via cfe-commits
@@ -228,11 +228,8 @@ class LLVM_LIBRARY_VISIBILITY FreeBSDTargetInfo : public OSTargetInfo { case llvm::Triple::arm: this->MCountName = "__mcount"; break; -case llvm::Triple::riscv32: brad0 wrote: Yes, I mentioned it in the comment. https

[clang] [Driver][FreeBSD] Remove FreeBSD/loongarch32 support (PR #122515)

2025-01-19 Thread Lu Weining via cfe-commits
@@ -228,11 +228,8 @@ class LLVM_LIBRARY_VISIBILITY FreeBSDTargetInfo : public OSTargetInfo { case llvm::Triple::arm: this->MCountName = "__mcount"; break; -case llvm::Triple::riscv32: SixWeining wrote: Do you want to remove riscv32 either?

[clang] b08b563 - [NFC][AMDGPU] Clean-up feature parsing for AMDGCNSPIRV. (#123519)

2025-01-19 Thread via cfe-commits
Author: Alex Voicu Date: 2025-01-20T02:30:29Z New Revision: b08b56381cb4c24f37afba793dc872b6d721d9f7 URL: https://github.com/llvm/llvm-project/commit/b08b56381cb4c24f37afba793dc872b6d721d9f7 DIFF: https://github.com/llvm/llvm-project/commit/b08b56381cb4c24f37afba793dc872b6d721d9f7.diff LOG: [N

[clang] [Driver][FreeBSD] Remove FreeBSD/loongarch32 support (PR #122515)

2025-01-19 Thread Lu Weining via cfe-commits
https://github.com/SixWeining approved this pull request. LGTM for the LoongArch changes. https://github.com/llvm/llvm-project/pull/122515 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi

[clang] 4294fe1 - [Driver][FreeBSD] Remove FreeBSD/loongarch32 support (#122515)

2025-01-19 Thread via cfe-commits
Author: Brad Smith Date: 2025-01-19T22:23:11-05:00 New Revision: 4294fe173e9696a4c090857fa0766cd44c1964dc URL: https://github.com/llvm/llvm-project/commit/4294fe173e9696a4c090857fa0766cd44c1964dc DIFF: https://github.com/llvm/llvm-project/commit/4294fe173e9696a4c090857fa0766cd44c1964dc.diff LO

[clang] [Driver][FreeBSD] Remove FreeBSD/loongarch32 support (PR #122515)

2025-01-19 Thread Brad Smith via cfe-commits
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/122515 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Add BreakBeforeTemplateClose option (PR #118046)

2025-01-19 Thread via cfe-commits
https://github.com/leijurv updated https://github.com/llvm/llvm-project/pull/118046 >From 1caf823165b16f6701993d586df51d5cdbf0885e Mon Sep 17 00:00:00 2001 From: Leijurv Date: Fri, 29 Nov 2024 21:54:36 -0600 Subject: [PATCH 01/11] [clang-format] Add BreakBeforeTemplateClose option --- clang/d

[clang] [llvm] Add the initializes attribute inference (PR #117104)

2025-01-19 Thread Haopeng Liu via cfe-commits
haopliu wrote: Thanks for reporting this crash and the fixing, @fhahn! https://github.com/llvm/llvm-project/pull/117104 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [clang][CodeComplete] Use HeuristicResolver to resolve pointee types (PR #121315)

2025-01-19 Thread Nathan Ridge via cfe-commits
HighCommander4 wrote: > This made me realize that `HeuristicResolver::getPointeeType()` actually has > a deficiency where it incorrectly discards the cv-qualifiers of the returned > pointee type. I'll fix that in a dependent patch before proceeding with this. Filed https://github.com/llvm/llvm

[clang] [clang-tools-extra] [ASTMatchers][NFC] use `Matcher` instead of `DynTypedMatcher` in `TypeLocTypeMatcher` (PR #123450)

2025-01-19 Thread Nathan Ridge via cfe-commits
HighCommander4 wrote: I don't really have enough experience with the AST matcher implementations to provide an authoritative review of this, sorry. I did do some digging in the code history, and found that `TypeLocTypeMatcher` did store a `Matcher` in the past. That was changed in https://git

[clang] [llvm] [NFC][AMDGPU] Clean-up feature parsing for AMDGCNSPIRV. (PR #123519)

2025-01-19 Thread Alex Voicu via cfe-commits
https://github.com/AlexVlx closed https://github.com/llvm/llvm-project/pull/123519 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [StrTable] Mechanically convert NVPTX builtins to use TableGen (PR #122873)

2025-01-19 Thread Chandler Carruth via cfe-commits
https://github.com/chandlerc edited https://github.com/llvm/llvm-project/pull/122873 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver][FreeBSD] Remove FreeBSD/loongarch32 support (PR #122515)

2025-01-19 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `clang` at step 7 "Add check check-offload". Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/11996 Here is the r

[clang] [Clang] No longer require complete types with __builtin_launder (PR #91070)

2025-01-19 Thread via cfe-commits
cor3ntin wrote: > I don't think that's actually intended though. Are you saying we should open a LWG issue? https://github.com/llvm/llvm-project/pull/91070 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/

[clang] Make armv6 iOS by default instead of macOS when targeting Darwin (PR #117243)

2025-01-19 Thread Jon Roelofs via cfe-commits
jroelofs wrote: cc @ian-twilightcoder https://github.com/llvm/llvm-project/pull/117243 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

<    1   2