[clang] C89 doesn't have `math.h` functions (PR #129979)

2025-03-05 Thread Vinay Deshmukh via cfe-commits
https://github.com/vinay-deshmukh edited https://github.com/llvm/llvm-project/pull/129979 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][c-index-test] factor data len out (PR #129971)

2025-03-05 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/129971 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 4b454af - Convert unreachable return statement into llvm_unreachable (#129627)

2025-03-05 Thread via cfe-commits
Author: Shafik Yaghmour Date: 2025-03-05T16:59:44-08:00 New Revision: 4b454afc45cdd69ad7d8d6bdba785b00bda7808c URL: https://github.com/llvm/llvm-project/commit/4b454afc45cdd69ad7d8d6bdba785b00bda7808c DIFF: https://github.com/llvm/llvm-project/commit/4b454afc45cdd69ad7d8d6bdba785b00bda7808c.dif

[clang] Convert unreachable return statement into llvm_unreachable (PR #129627)

2025-03-05 Thread Shafik Yaghmour via cfe-commits
https://github.com/shafik closed https://github.com/llvm/llvm-project/pull/129627 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Use TargetInfo to decide Mangling for C (PR #129920)

2025-03-05 Thread via cfe-commits
https://github.com/Prabhuk closed https://github.com/llvm/llvm-project/pull/129920 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] QCI Interrupt Support (PR #129957)

2025-03-05 Thread Sam Elliott via cfe-commits
@@ -2116,6 +2214,11 @@ bool RISCVFrameLowering::canUseAsEpilogue(const MachineBasicBlock &MBB) const { MachineBasicBlock *TmpMBB = const_cast(&MBB); const auto *RVFI = MF->getInfo(); + // Qe do not want QC.C.MILEAVERET to be subject to shrink-wrapping - it must -

[clang] 12c5a46 - [Clang] Fix incorrect condition on ballot

2025-03-05 Thread Joseph Huber via cfe-commits
Author: Joseph Huber Date: 2025-03-05T19:15:23-06:00 New Revision: 12c5a46c300eedb6cafc68b987abb9c1fa913e96 URL: https://github.com/llvm/llvm-project/commit/12c5a46c300eedb6cafc68b987abb9c1fa913e96 DIFF: https://github.com/llvm/llvm-project/commit/12c5a46c300eedb6cafc68b987abb9c1fa913e96.diff

[clang] [alpha.webkit.UncountedCallArgsChecker] Fix a false negative when a call argument is a local variable. (PR #129974)

2025-03-05 Thread Ryosuke Niwa via cfe-commits
https://github.com/rniwa created https://github.com/llvm/llvm-project/pull/129974 isASafeCallArg erroneously returns true when a call argument is a local variable regardless of its type. This is incorrect. We should only allow any local variable of a safe pointer type. Fix the bug by moving t

[clang] [llvm] [SYCL][DOC] Add documentation for SYCL compilation flow (PR #129973)

2025-03-05 Thread Arvind Sudarsanam via cfe-commits
https://github.com/asudarsa closed https://github.com/llvm/llvm-project/pull/129973 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [alpha.webkit.UncountedCallArgsChecker] Fix a false negative when a call argument is a local variable. (PR #129974)

2025-03-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 Author: Ryosuke Niwa (rniwa) Changes isASafeCallArg erroneously returns true when a call argument is a local variable regardless of its type. This is incorrect. We should only allow any local variable of a safe pointer type. Fi

[clang] [alpha.webkit.UncountedCallArgsChecker] Fix a false negative when a call argument is a local variable. (PR #129974)

2025-03-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ryosuke Niwa (rniwa) Changes isASafeCallArg erroneously returns true when a call argument is a local variable regardless of its type. This is incorrect. We should only allow any local variable of a safe pointer type. Fix the bug by movin

[libclc] [libclc] Stop installing CLC headers (PR #126908)

2025-03-05 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/126908 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Feature]: merge host and kernel dependencies for heterogeneous compilation (PR #119513)

2025-03-05 Thread via cfe-commits
@@ -798,6 +798,8 @@ def MD : Flag<["-"], "MD">, Group, HelpText<"Write a depfile containing user and system headers">; def MMD : Flag<["-"], "MMD">, Group, HelpText<"Write a depfile containing user headers">; +def MMMD : Flag<["-"], "MMMD">, Group, zhou

[clang] [NFC][c-index-test] factor data len out (PR #129971)

2025-03-05 Thread Jinsong Ji via cfe-commits
https://github.com/jsji updated https://github.com/llvm/llvm-project/pull/129971 >From 801d92357366d95bc5bd044125eefc25862b6fee Mon Sep 17 00:00:00 2001 From: Jinsong Ji Date: Wed, 5 Mar 2025 17:54:48 -0800 Subject: [PATCH 1/2] [NFC][c-index-test] factor data len out --- clang/tools/c-index-te

[clang] Fix incomplete decl chains (PR #129982)

2025-03-05 Thread Michael Park via cfe-commits
https://github.com/mpark created https://github.com/llvm/llvm-project/pull/129982 None >From 3f883067a2fda4147003de9a53b88e52c33d1280 Mon Sep 17 00:00:00 2001 From: Michael Park Date: Tue, 25 Feb 2025 14:33:41 -0800 Subject: [PATCH 1/3] =?UTF-8?q?Reapply=20"[C++20][Modules][Serialization]?= =

[clang] Fix incomplete decl chains (PR #129982)

2025-03-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Michael Park (mpark) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/129982.diff 4 Files Affected: - (modified) clang/lib/Sema/SemaType.cpp (+6) - (modified) clang/lib/Serialization/ASTReader.cpp (+12-13) - (added) c

[clang] Fix incomplete decl chains (PR #129982)

2025-03-05 Thread Michael Park via cfe-commits
https://github.com/mpark updated https://github.com/llvm/llvm-project/pull/129982 >From 3f883067a2fda4147003de9a53b88e52c33d1280 Mon Sep 17 00:00:00 2001 From: Michael Park Date: Tue, 25 Feb 2025 14:33:41 -0800 Subject: [PATCH 1/3] =?UTF-8?q?Reapply=20"[C++20][Modules][Serialization]?= =?UTF-8

[clang] Fix incomplete decl chains (PR #129982)

2025-03-05 Thread Michael Park via cfe-commits
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/129982 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix incomplete decl chains (PR #129982)

2025-03-05 Thread Michael Park via cfe-commits
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/129982 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [C++20][Modules][Serialization] Fix incomplete decl chains (PR #129982)

2025-03-05 Thread Michael Park via cfe-commits
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/129982 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [C++20][Modules] Fix incomplete decl chains (PR #129982)

2025-03-05 Thread Michael Park via cfe-commits
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/129982 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Remove special handling of C++ access specifiers in C (PR #129983)

2025-03-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes This effectively reverts d1aed486efc6d35a81ca4acbabb4203c4b91cda9 because of --- Full diff: https://github.com/llvm/llvm-project/pull/129983.diff 3 Files Affected: - (modified) clang/lib/Format/Unwrapped

[clang] Fix incomplete decl chains (PR #129982)

2025-03-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Michael Park (mpark) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/129982.diff 4 Files Affected: - (modified) clang/lib/Sema/SemaType.cpp (+6) - (modified) clang/lib/Serialization/ASTReader.cpp (+12-13) - (

[clang] [clang-format] Remove special handling of C++ access specifiers in C (PR #129983)

2025-03-05 Thread Owen Pan via cfe-commits
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/129983 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Remove special handling of C++ access specifiers in C (PR #129983)

2025-03-05 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/129983 This effectively reverts d1aed486efc6d35a81ca4acbabb4203c4b91cda9 because of >From 2cd96b9948147d9bc5cc402e647fc378c2efd212 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Wed, 5 Mar 2025 20:05:01 -0800 Subject: [

[clang] [clang][modules][deps] Add mutex as an alternative to file lock (PR #129751)

2025-03-05 Thread Jan Svoboda via cfe-commits
https://github.com/jansvoboda11 updated https://github.com/llvm/llvm-project/pull/129751 >From 5f119a3a4ae8642d6ab0498c1cf6b39d5099c835 Mon Sep 17 00:00:00 2001 From: Jan Svoboda Date: Thu, 27 Feb 2025 15:23:18 -0800 Subject: [PATCH 1/5] [clang][modules][deps] Add mutex as an alternative to fi

[clang] [HLSL] add extra scalar vector overloads for clamp (PR #129939)

2025-03-05 Thread Joshua Batista via cfe-commits
@@ -35,25 +35,48 @@ namespace hlsl { #define _HLSL_16BIT_AVAILABILITY_STAGE(environment, version, stage) #endif -#define GEN_VEC_SCALAR_OVERLOADS(FUNC_NAME, BASE_TYPE, AVAIL) \ - GEN_BOTH_OVERLOADS(FUNC_NAME, BASE_TYPE, BASE_TYPE##2, AVAIL) \

[clang] 5b3ba26 - [Clang] [Sema] Allow non-local/non-variable declarations in for loop (#129737)

2025-03-05 Thread via cfe-commits
Author: Sirraide Date: 2025-03-06T02:03:22+01:00 New Revision: 5b3ba261c49bee35debdd54e23a6a181126f798e URL: https://github.com/llvm/llvm-project/commit/5b3ba261c49bee35debdd54e23a6a181126f798e DIFF: https://github.com/llvm/llvm-project/commit/5b3ba261c49bee35debdd54e23a6a181126f798e.diff LOG:

[clang] [llvm] [RISCV] QCI Interrupt Support (PR #129957)

2025-03-05 Thread Sam Elliott via cfe-commits
@@ -1892,9 +1970,23 @@ bool RISCVFrameLowering::spillCalleeSavedRegisters( if (MI != MBB.end() && !MI->isDebugInstr()) DL = MI->getDebugLoc(); - // Emit CM.PUSH with base SPimm & evaluate Push stack RISCVMachineFunctionInfo *RVFI = MF->getInfo(); - if (RVFI->isPusha

[clang] [llvm] [RISCV] QCI Interrupt Support (PR #129957)

2025-03-05 Thread Sam Elliott via cfe-commits
@@ -20831,9 +20831,20 @@ SDValue RISCVTargetLowering::LowerFormalArguments( StringRef Kind = MF.getFunction().getFnAttribute("interrupt").getValueAsString(); -if (!(Kind == "supervisor" || Kind == "machine")) +constexpr StringRef SupportedInterruptKinds[] = {

[clang] Reduce memory usage in AST parent map generation by lazily checking if nodes have been seen (PR #129934)

2025-03-05 Thread via cfe-commits
higher-performance wrote: Ah sorry I forgot to reply to your review. > We might take a look at `SetVector` and see if there are any learnings we can > take from that. It has a set and a vector together, but might have some > interesting things. I did take a look at this actually, but it looke

[clang] [NFC][c-index-test] factor data len out (PR #129971)

2025-03-05 Thread Jinsong Ji via cfe-commits
https://github.com/jsji edited https://github.com/llvm/llvm-project/pull/129971 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][c-index-test] factor data len out (PR #129971)

2025-03-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Jinsong Ji (jsji) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/129971.diff 1 Files Affected: - (modified) clang/tools/c-index-test/c-index-test.c (+3-5) ``diff diff --git a/clang/tools/c-index-test/c-inde

[clang] [NFC][c-index-test] factor data len out (PR #129971)

2025-03-05 Thread Jinsong Ji via cfe-commits
https://github.com/jsji created https://github.com/llvm/llvm-project/pull/129971 None >From 801d92357366d95bc5bd044125eefc25862b6fee Mon Sep 17 00:00:00 2001 From: Jinsong Ji Date: Wed, 5 Mar 2025 17:54:48 -0800 Subject: [PATCH] [NFC][c-index-test] factor data len out --- clang/tools/c-index-

[clang] [Feature]: merge host and kernel dependencies for heterogeneous compilation (PR #119513)

2025-03-05 Thread via cfe-commits
@@ -350,13 +353,105 @@ void DependencyFileGenerator::outputDependencyFile(DiagnosticsEngine &Diags) { } std::error_code EC; - llvm::raw_fd_ostream OS(OutputFile, EC, llvm::sys::fs::OF_TextWithCRLF); - if (EC) { -Diags.Report(diag::err_fe_error_opening) << OutputFile

[clang] [NFC][c-index-test] factor data len out (PR #129971)

2025-03-05 Thread Jinsong Ji via cfe-commits
https://github.com/jsji closed https://github.com/llvm/llvm-project/pull/129971 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] e4c3d25 - [NFC][c-index-test] factor data len out (#129971)

2025-03-05 Thread via cfe-commits
Author: Jinsong Ji Date: 2025-03-05T23:21:07-05:00 New Revision: e4c3d258b7a1f335cfd3a90bcf3d28ea220c999d URL: https://github.com/llvm/llvm-project/commit/e4c3d258b7a1f335cfd3a90bcf3d28ea220c999d DIFF: https://github.com/llvm/llvm-project/commit/e4c3d258b7a1f335cfd3a90bcf3d28ea220c999d.diff LO

[clang] [C++20][Modules] Fix incomplete decl chains (PR #129982)

2025-03-05 Thread Michael Park via cfe-commits
https://github.com/mpark updated https://github.com/llvm/llvm-project/pull/129982 >From 3f883067a2fda4147003de9a53b88e52c33d1280 Mon Sep 17 00:00:00 2001 From: Michael Park Date: Tue, 25 Feb 2025 14:33:41 -0800 Subject: [PATCH 1/3] =?UTF-8?q?Reapply=20"[C++20][Modules][Serialization]?= =?UTF-8

[clang] [llvm] [RISCV] QCI Interrupt Support (PR #129957)

2025-03-05 Thread Craig Topper via cfe-commits
@@ -20831,9 +20831,20 @@ SDValue RISCVTargetLowering::LowerFormalArguments( StringRef Kind = MF.getFunction().getFnAttribute("interrupt").getValueAsString(); -if (!(Kind == "supervisor" || Kind == "machine")) +constexpr StringRef SupportedInterruptKinds[] = {

[clang] [llvm] [RISCV] QCI Interrupt Support (PR #129957)

2025-03-05 Thread Craig Topper via cfe-commits
@@ -2828,8 +2828,17 @@ targets. This attribute may be attached to a function definition and instructs the backend to generate appropriate function entry/exit code so that it can be used directly as an interrupt service routine. -Permissible values for this parameter are ``sup

[clang] [llvm] [RISCV] QCI Interrupt Support (PR #129957)

2025-03-05 Thread Sam Elliott via cfe-commits
@@ -2828,8 +2828,17 @@ targets. This attribute may be attached to a function definition and instructs the backend to generate appropriate function entry/exit code so that it can be used directly as an interrupt service routine. -Permissible values for this parameter are ``sup

[clang-tools-extra] [clang-tidy] 'modernize-use-starts-ends-with': fixed false positives on `find` and `rfind` (PR #129564)

2025-03-05 Thread Nicolas van Kempen via cfe-commits
https://github.com/nicovank edited https://github.com/llvm/llvm-project/pull/129564 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] 'modernize-use-starts-ends-with': fixed false positives on `find` and `rfind` (PR #129564)

2025-03-05 Thread Nicolas van Kempen via cfe-commits
https://github.com/nicovank approved this pull request. LGTM, thanks!! https://github.com/llvm/llvm-project/pull/129564 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] 'modernize-use-starts-ends-with': fixed false positives on `find` and `rfind` (PR #129564)

2025-03-05 Thread Nicolas van Kempen via cfe-commits
@@ -128,7 +128,12 @@ Changes in existing checks ` check by providing additional examples and fixing some macro related false positives. -- Improved :doc:`performance/unnecessary-value-param +- Improved :doc:`modernize-use-starts-ends-with + ` check by adding more + match

[clang] [flang] [lldb] [llvm] [mlir] [polly] [IR] Store Triple in Module (NFC) (PR #129868)

2025-03-05 Thread Yingwei Zheng via cfe-commits
https://github.com/dtcxzyw approved this pull request. LGTM. Thank you! https://github.com/llvm/llvm-project/pull/129868 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fix 'gpuintrin.h' match when included with no arch set (PR #129927)

2025-03-05 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm commented: Should drop the nvvm reflect here. Really shouldn't have any subtarget dependent code here. Injecting implementation details into the source program is part of the fundamental issue with device lib linking https://github.com/llvm/llvm-project/pull/129927 _

[clang] [C++20][Modules] Fix incomplete decl chains (PR #129982)

2025-03-05 Thread Chuanqi Xu via cfe-commits
@@ -10178,12 +10178,12 @@ void ASTReader::visitTopLevelModuleMaps( } void ASTReader::finishPendingActions() { - while ( - !PendingIdentifierInfos.empty() || !PendingDeducedFunctionTypes.empty() || - !PendingDeducedVarTypes.empty() || !PendingIncompleteDeclChains.em

[clang] [C++20][Modules] Fix incomplete decl chains (PR #129982)

2025-03-05 Thread Chuanqi Xu via cfe-commits
@@ -9180,6 +9180,12 @@ bool Sema::hasAcceptableDefinition(NamedDecl *D, NamedDecl **Suggested, if (!getLangOpts().Modules && !getLangOpts().ModulesLocalVisibility) return true; + // The external source may have additional definitions of this entity that are + // visi

[clang] [C++20][Modules] Fix incomplete decl chains (PR #129982)

2025-03-05 Thread Michael Park via cfe-commits
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/129982 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Pass fp128 indirectly and return in xmm0 on Windows (PR #115052)

2025-03-05 Thread Trevor Gross via cfe-commits
tgross35 wrote: @rnk (or anyone) would you be able to land this? https://github.com/llvm/llvm-project/pull/115052 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][c-index-test] factor data len out (PR #129971)

2025-03-05 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/129971 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Use TargetInfo to decide Mangling for C (PR #129920)

2025-03-05 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/15781 Here is th

[clang] [clang][dataflow] Add test for crash repro and clean up const accessor handling (PR #129930)

2025-03-05 Thread Jan Voung via cfe-commits
https://github.com/jvoung edited https://github.com/llvm/llvm-project/pull/129930 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Reject constexpr-unknown values as constant expressions more consistently (PR #129952)

2025-03-05 Thread A. Jiang via cfe-commits
https://github.com/frederick-vs-ja milestoned https://github.com/llvm/llvm-project/pull/129952 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] Mark {vl, vtype} as clobber in inline assembly (PR #128636)

2025-03-05 Thread Hank Chang via cfe-commits
https://github.com/HankChang736 updated https://github.com/llvm/llvm-project/pull/128636 >From d7718e9ed9f03990895f0d89b87808d8c96bb67c Mon Sep 17 00:00:00 2001 From: Hank Chang Date: Sun, 23 Feb 2025 23:59:23 +0800 Subject: [PATCH 1/3] [RISCV] Mark {vl, vtype} as clobber in inline assembly Th

[clang] [llvm] [HLSL] [DXIL] Implement the AddUint64 HLSL function and the UAddc DXIL op (PR #127137)

2025-03-05 Thread Deric C. via cfe-commits
https://github.com/Icohedron closed https://github.com/llvm/llvm-project/pull/127137 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] c-index-test: fix buffer overflow (PR #129922)

2025-03-05 Thread Jinsong Ji via cfe-commits
@@ -3555,11 +3555,12 @@ static CXIdxClientContainer makeClientContainer(CXClientData *client_data, clang_indexLoc_getFileLocation(loc, &file, 0, &line, &column, 0); len = sizeof(IndexDataStringList) + strlen(name) + digitCount(line) + -digitCount(column) + 2; +

[clang] 45ca613 - [clang] Use TargetInfo to decide Mangling for C (#129920)

2025-03-05 Thread via cfe-commits
Author: Prabhuk Date: 2025-03-05T17:26:52-08:00 New Revision: 45ca613c135ea7b5fbc63bff003f20bf20f62081 URL: https://github.com/llvm/llvm-project/commit/45ca613c135ea7b5fbc63bff003f20bf20f62081 DIFF: https://github.com/llvm/llvm-project/commit/45ca613c135ea7b5fbc63bff003f20bf20f62081.diff LOG:

[clang] 560cfd5 - c-index-test: fix buffer overflow (#129922)

2025-03-05 Thread via cfe-commits
Author: Jinsong Ji Date: 2025-03-05T20:52:11-05:00 New Revision: 560cfd509916cd75bcd79143a91def5f3d8b9ba1 URL: https://github.com/llvm/llvm-project/commit/560cfd509916cd75bcd79143a91def5f3d8b9ba1 DIFF: https://github.com/llvm/llvm-project/commit/560cfd509916cd75bcd79143a91def5f3d8b9ba1.diff LO

[clang] c-index-test: fix buffer overflow (PR #129922)

2025-03-05 Thread Jinsong Ji via cfe-commits
https://github.com/jsji closed https://github.com/llvm/llvm-project/pull/129922 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] C89 doesn't have `math.h` functions (PR #129979)

2025-03-05 Thread Vinay Deshmukh via cfe-commits
https://github.com/vinay-deshmukh created https://github.com/llvm/llvm-project/pull/129979 Fixes #15522 >From e9c7869550d9fd1eba4d4d42ee644540e6b6d445 Mon Sep 17 00:00:00 2001 From: Vinay Deshmukh <32487576+vinay-deshm...@users.noreply.github.com> Date: Tue, 4 Mar 2025 22:30:34 -0500 Subject: [

[clang] [Clang][ScanDeps] Fix error message typo (PR #88404)

2025-03-05 Thread via cfe-commits
https://github.com/nyyakko closed https://github.com/llvm/llvm-project/pull/88404 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] C89 doesn't have `math.h` functions (PR #129979)

2025-03-05 Thread Vinay Deshmukh via cfe-commits
https://github.com/vinay-deshmukh edited https://github.com/llvm/llvm-project/pull/129979 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

<    1   2   3   4   5