[clang] [PCH, CUDA] Take CUDA attributes into account (PR #125127)

2025-02-03 Thread Artem Belevich via cfe-commits
https://github.com/Artem-B closed https://github.com/llvm/llvm-project/pull/125127 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PCH, CUDA] Take CUDA attributes into account (PR #125127)

2025-01-31 Thread Artem Belevich via cfe-commits
@@ -14,12 +16,19 @@ void kcall(void (*kp)()) { __global__ void kern() { } +__host__ int overloaded_func(); Artem-B wrote: Done https://github.com/llvm/llvm-project/pull/125127 ___ cfe-commits mailing list cfe-commi

[clang] [PCH, CUDA] Take CUDA attributes into account (PR #125127)

2025-01-31 Thread Artem Belevich via cfe-commits
https://github.com/Artem-B updated https://github.com/llvm/llvm-project/pull/125127 >From d6ff7dc3dcc5ca677a811888f5e67cc5aaad9d8f Mon Sep 17 00:00:00 2001 From: Artem Belevich Date: Thu, 30 Jan 2025 14:30:22 -0800 Subject: [PATCH 1/3] [PCH, CUDA] Take CUDA attributes into account During deser

[clang] [PCH, CUDA] Take CUDA attributes into account (PR #125127)

2025-01-31 Thread kadir çetinkaya via cfe-commits
https://github.com/kadircet approved this pull request. thanks a lot, LGTM! https://github.com/llvm/llvm-project/pull/125127 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PCH, CUDA] Take CUDA attributes into account (PR #125127)

2025-01-31 Thread kadir çetinkaya via cfe-commits
@@ -14,12 +16,19 @@ void kcall(void (*kp)()) { __global__ void kern() { } +__host__ int overloaded_func(); kadircet wrote: can you also add a comment here explaining what we're testing? https://github.com/llvm/llvm-project/pull/125127 ___

[clang] [PCH, CUDA] Take CUDA attributes into account (PR #125127)

2025-01-31 Thread kadir çetinkaya via cfe-commits
https://github.com/kadircet edited https://github.com/llvm/llvm-project/pull/125127 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PCH, CUDA] Take CUDA attributes into account (PR #125127)

2025-01-30 Thread Artem Belevich via cfe-commits
https://github.com/Artem-B updated https://github.com/llvm/llvm-project/pull/125127 >From d6ff7dc3dcc5ca677a811888f5e67cc5aaad9d8f Mon Sep 17 00:00:00 2001 From: Artem Belevich Date: Thu, 30 Jan 2025 14:30:22 -0800 Subject: [PATCH 1/2] [PCH, CUDA] Take CUDA attributes into account During deser

[clang] [PCH, CUDA] Take CUDA attributes into account (PR #125127)

2025-01-30 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff b108fbe6ea4247e5a3019a4facf611d5a42d465c d6ff7dc3dcc5ca677a811888f5e67cc5aaad9d8f --e

[clang] [PCH, CUDA] Take CUDA attributes into account (PR #125127)

2025-01-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Artem Belevich (Artem-B) Changes During deserialization of CUDA AST we must consider CUDA target attributes to distinguish overloads from redeclarations. --- Full diff: https://github.com/llvm/llvm-project/pull/125127.diff 2 Files Affec

[clang] [PCH, CUDA] Take CUDA attributes into account (PR #125127)

2025-01-30 Thread Artem Belevich via cfe-commits
https://github.com/Artem-B edited https://github.com/llvm/llvm-project/pull/125127 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PCH, CUDA] Take CUDA attributes into account (PR #125127)

2025-01-30 Thread Artem Belevich via cfe-commits
https://github.com/Artem-B created https://github.com/llvm/llvm-project/pull/125127 During deserialization of CUDA AST we must consider CUDA target attributes to distinguish overloads from redeclarations. >From d6ff7dc3dcc5ca677a811888f5e67cc5aaad9d8f Mon Sep 17 00:00:00 2001 From: Artem Belev