diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2018-10-04 14:57:04 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2018-10-04 14:57:04 +0000 |
commit | 3574f28709ac9c0dcb3edaad8ac98a10f1d05457 (patch) | |
tree | 04c05986532d636e9d309ab77e1b62cee9ae14ec /clang/test/Index/comment-custom-block-command.cpp | |
parent | 261eec5fa5deae96a454835092a09098ced277a6 (diff) | |
download | bcm5719-llvm-3574f28709ac9c0dcb3edaad8ac98a10f1d05457.tar.gz bcm5719-llvm-3574f28709ac9c0dcb3edaad8ac98a10f1d05457.zip |
[OpenMP][OMPT] Fix unsafe initialization of ompt_data_t objects
Initializing an ompt_data_t object using the pointer union member is potentially
unsafe in 32-bit programs. This change fixes the issue
by using the constant, ompt_data_none.
Patch by Hansang Bae
Differential Revision: https://reviews.llvm.org/D52046
llvm-svn: 343785
Diffstat (limited to 'clang/test/Index/comment-custom-block-command.cpp')
0 files changed, 0 insertions, 0 deletions