[clang] Check for unsupported target options even with -Qunused-arguments (PR #141698)

2025-05-27 Thread Fangrui Song via cfe-commits
@@ -27,3 +27,10 @@ // RUN: not %clang --target=x86_64 -### -mhtm -lc %s 2>&1 \ // RUN: | FileCheck %s -check-prefix=UNSUP_OPT // UNSUP_OPT: error: unsupported option + + +// RUN: not %clang -c --target=aarch64-- -mfpu=crypto-neon-fp-armv8 %s 2>&1 | \ +// RUN: FileCheck %s --c

[clang] Check for unsupported target options even with -Qunused-arguments (PR #141698)

2025-05-27 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/141698 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [NFCI] Change SpecialCaseList::inSectionBlame to return pair (FileIdx, LineNo). (PR #141540)

2025-05-27 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/141540 >From e7540c31c69df827d646e88b271a355c587bd9da Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Tue, 27 May 2025 02:36:29 + Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch?= =?U

[clang] [llvm] [NFCI] Change SpecialCaseList::inSectionBlame to return pair (FileIdx, LineNo). (PR #141540)

2025-05-27 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka approved this pull request. Please double check and merge https://github.com/llvm/llvm-project/pull/141540 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [NFCI] Change SpecialCaseList::inSectionBlame to return pair (FileIdx, LineNo). (PR #141540)

2025-05-27 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/141540 >From e7540c31c69df827d646e88b271a355c587bd9da Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Tue, 27 May 2025 02:36:29 + Subject: [PATCH 1/4] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch?= =?U

[clang] [llvm] [NFCI] Change SpecialCaseList::inSectionBlame to return pair (FileIdx, LineNo). (PR #141540)

2025-05-27 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/141540 >From e7540c31c69df827d646e88b271a355c587bd9da Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Tue, 27 May 2025 02:36:29 + Subject: [PATCH 1/5] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch?= =?U

[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] [clang-format] Handle .h files for LK_C and LK_ObjC (PR #141714)

2025-05-27 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/141714 Fix #137792 >From 0afd41acb56fced29a7f8865b19cf2da95aaa26d Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Tue, 27 May 2025 20:50:56 -0700 Subject: [PATCH] [clang-format] Handle .h files for LK_C and LK_ObjC Fix

[clang] [clang-format] Handle .h files for LK_C and LK_ObjC (PR #141714)

2025-05-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Fix #137792 --- Full diff: https://github.com/llvm/llvm-project/pull/141714.diff 3 Files Affected: - (modified) clang/include/clang/Format/Format.h (+6-4) - (modified) clang/lib/Format/Format.cpp (+13-5

<    1   2   3   4   5