Go to file
Egor Churaev 3bccec5da7 [OpenCL] Extended diagnostics for atomic initialization
Summary:
I saw the same changes in the following review: https://reviews.llvm.org/D17438

I don't know in that way I could determine that atomic variable was initialized by macro ATOMIC_VAR_INIT. Anyway I added check that atomic variables can be initialize only in global scope.
I think that we can discuss this change.

Reviewers: Anastasia, cfe-commits

Reviewed By: Anastasia

Subscribers: bader, yaxunl

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

llvm-svn: 299537
2017-04-05 12:47:10 +00:00
clang [OpenCL] Extended diagnostics for atomic initialization 2017-04-05 12:47:10 +00:00
clang-tools-extra [clangd] Link against clangSema 2017-04-04 19:42:29 +00:00
compiler-rt Avoid calling basename to compute xdynamiclib_namespec. 2017-04-04 22:33:02 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Fix more -Wshadow warnings introduced by recent Clang change 2017-04-04 02:54:27 +00:00
libcxxabi Fix exception address alignment test for EHABI 2017-04-04 14:03:54 +00:00
libunwind Try to trigger the new docs builder. NFC 2017-04-03 19:23:11 +00:00
lld [ELF] Make createThunks a class [NFC] 2017-04-05 10:30:09 +00:00
lldb Fix a typo introduce in r299200. 2017-04-05 09:31:43 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [AMDGPU] SDWA peephole: enable by default 2017-04-05 12:00:45 +00:00
openmp Test cancellation_for_sections.c expectedly fails on GCC 2017-04-04 14:39:52 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Add two Polly images 2017-04-05 11:50:31 +00:00