[OPENMP] Disable emission of the class with vptr if they are not used in
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 21 Sep 2018 14:55:26 +0000 (14:55 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 21 Sep 2018 14:55:26 +0000 (14:55 +0000)
commitf898d1de4a256ad9f2702682bb28715d16503c7a
tree67b6e44cabc9130dab9c7afd976c326afe4f9878
parent72d627e5ec293611741ed46271afeebf55a23e55
[OPENMP] Disable emission of the class with vptr if they are not used in
target constructs.

Prevent compilation of the classes with the virtual tables when
compiling for the device.

llvm-svn: 342741
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/OpenMP/declare_target_codegen.cpp