Skip to content

PR for llvm/llvm-project#64718 #592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 16, 2023
Merged

PR for llvm/llvm-project#64718 #592

merged 1 commit into from
Aug 16, 2023

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Aug 15, 2023

I don't have a test case for this but noticed this warning when including system headers with `-I` rather than `-isystem`.

```
In file included from <built-in>:1:
In file included from /nix/store/jq6bpm0xmhnbffhs5rkxq4n88g5xi2zg-clang-wrapper-11.0.1/resource-root/include/__clang_cuda_runtime_wrapper.h:157:
/nix/store/jq6bpm0xmhnbffhs5rkxq4n88g5xi2zg-clang-wrapper-11.0.1/resource-root/include/__clang_cuda_math.h:39:25: warning: extra tokens at end of #ifdef directive [-Wextra-tokens]
                        ^
```

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D95299

(cherry picked from commit c49142e)
@llvmbot
Copy link
Member Author

llvmbot commented Aug 15, 2023

@Artem-B What do you think about merging this PR to the release branch?

@Artem-B
Copy link
Member

Artem-B commented Aug 15, 2023

LGTM for cherry-pick into release branch.

@tru tru merged commit f36309a into release/17.x Aug 16, 2023
@tru tru deleted the llvm-issue64718 branch August 16, 2023 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backport fix for include/__clang_cuda_math.h:39:25: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] in LLVM 17
4 participants