Revert "[CUDA] Allow local static variables with target attributes."
authorArtem Belevich <tra@google.com>
Mon, 2 Nov 2020 23:08:26 +0000 (15:08 -0800)
committerArtem Belevich <tra@google.com>
Mon, 2 Nov 2020 23:09:07 +0000 (15:09 -0800)
commit0a3ebb4d8d988e063e395621d162fa224fa4fb08
treebde50196c57415112c3cf3c4fa5c7fd0f238cc54
parentc938b4a1ed43f3075155e16a7c2792ca8c122258
Revert "[CUDA] Allow local static variables with target attributes."

This reverts commit f38a9e51178add132d2c8ae160787fb2175a48a4
Which triggered assertions.
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGenCUDA/static-device-var-no-rdc.cu
clang/test/SemaCUDA/bad-attributes.cu
clang/test/SemaCUDA/device-var-init.cu