[PATCH] D155539: [CUDA][HIP] Use the same default language std as C++

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 21 20:07:15 PDT 2023


yaxunl added a comment.

In D155539#4524189 <https://reviews.llvm.org/D155539#4524189>, @probinson wrote:

> This change to lang-std.cpp causes it not to verify _which_ language standard is the default. It only verifies that cuda and hip don't _change_ it.
> If you run FileCheck on one of those output files, it would preserve that property.

It is intentional since we just want to make sure CUDA/HIP uses the same default language standard as C++. We do not want to update the test when C++ changes its default language standard.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155539/new/

https://reviews.llvm.org/D155539



More information about the cfe-commits mailing list