aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2020-05-04 17:27:41 -0400
committerYaxun (Sam) Liu <yaxun.liu@amd.com>2020-05-04 21:52:04 -0400
commitd75a6e93ae99bfcd67219454307da56ebd155d45 (patch)
tree2fc5cb6f8dd4ce339c50e1122f3c0f95eaa2e0c8 /llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
parentad5fad0ac56b78a692a052f2da397b4bc7fd6150 (diff)
downloadllvm-d75a6e93ae99bfcd67219454307da56ebd155d45.zip
llvm-d75a6e93ae99bfcd67219454307da56ebd155d45.tar.gz
llvm-d75a6e93ae99bfcd67219454307da56ebd155d45.tar.bz2
[CUDA][HIP] Fix empty ctor/dtor check for union
union ctor does not call ctors of its data members. union dtor does not call dtors of its data members. Also union does not have base class. Currently when clang checks whether union has an empty ctor/dtor, it checks the ctors/dtors of its data members. This causes incorrectly diagnose device side global variables and shared variables as having non-empty ctors/dtors. This patch fixes that. Differential Revision: https://reviews.llvm.org/D79367
Diffstat (limited to 'llvm/lib/Transforms/Utils/CallGraphUpdater.cpp')
0 files changed, 0 insertions, 0 deletions