Skip to content
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

[C++4OpenCL] support new file extension in C++ mode #47441

Closed
AnastasiaStulova opened this issue Nov 6, 2020 · 3 comments
Closed

[C++4OpenCL] support new file extension in C++ mode #47441

AnastasiaStulova opened this issue Nov 6, 2020 · 3 comments
Labels
bugzilla Issues migrated from bugzilla OpenCL

Comments

@AnastasiaStulova
Copy link
Contributor

Bugzilla Link 48097
Resolution FIXED
Resolved on Apr 14, 2021 06:12
Version trunk
OS All
CC @AnastasiaStulova,@dwblaikie

Extended Description

Similar to C and C++ where file suffixes are different (c vs cpp), clang should support two different file extensions for OpenCL C and C++ for OpenCL.

@dwblaikie
Copy link
Collaborator

Is there any particular precedent (other compilers that support/use any particular extensions)?

@AnastasiaStulova
Copy link
Contributor Author

Not that I am aware of. The idea is to mirror C/C++ setup.

@AnastasiaStulova
Copy link
Contributor Author

This has been committed to the branch main https://reviews.llvm.org/D96771.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla OpenCL
Projects
None yet
Development

No branches or pull requests

2 participants