[PATCH] D103221: [CUDA][HIP] Change default lang std to c++14

2021-06-01 Thread Yaxun Liu via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. yaxunl marked an inline comment as done. Closed by commit rGf7e87dd6ff0c: [CUDA][HIP] Change default lang std to c++14 (authored by yaxunl). Herald added a project: cla

[PATCH] D103221: [CUDA][HIP] Change default lang std to c++14

2021-06-01 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl marked an inline comment as done. yaxunl added inline comments. Comment at: clang/test/SemaCUDA/asm_delayed_diags.cu:31 static __device__ __host__ double t3(double x) { - register long double result; + register long double result; // expected-warning {{'register' storag

[PATCH] D103221: [CUDA][HIP] Change default lang std to c++14

2021-06-01 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl updated this revision to Diff 349080. yaxunl marked an inline comment as done. yaxunl added a comment. fix test CHANGES SINCE LAST ACTION https://reviews.llvm.org/D103221/new/ https://reviews.llvm.org/D103221 Files: clang/include/clang/Basic/LangStandards.def clang/test/Parser/cud

[PATCH] D103221: [CUDA][HIP] Change default lang std to c++14

2021-06-01 Thread Artem Belevich via Phabricator via cfe-commits
tra added inline comments. Comment at: clang/test/SemaCUDA/asm_delayed_diags.cu:31 static __device__ __host__ double t3(double x) { - register long double result; + register long double result; // expected-warning {{'register' storage class specifier is deprecated and incompa

[PATCH] D103221: [CUDA][HIP] Change default lang std to c++14

2021-06-01 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl marked an inline comment as done. yaxunl added inline comments. Comment at: clang/include/clang/Basic/LangStandards.def:196-197 // CUDA LANGSTANDARD(cuda, "cuda", CUDA, "NVIDIA CUDA(tm)", LineComment | CPlusPlus | Digraphs) tra wrote: > I

[PATCH] D103221: [CUDA][HIP] Change default lang std to c++14

2021-06-01 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl updated this revision to Diff 349052. yaxunl retitled this revision from "[HIP] Change default lang std to c++14" to "[CUDA][HIP] Change default lang std to c++14". yaxunl edited the summary of this revision. yaxunl added a comment. revised by Artem's comments, and fix tests CHANGES SINC