aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorShengchen Kan <shengchen.kan@intel.com>2023-05-26 14:26:06 +0800
committerShengchen Kan <shengchen.kan@intel.com>2023-05-27 09:36:10 +0800
commita919a3a1e739ce18d6c3026c553846544c2168e8 (patch)
treed8d07f49dc6d8552788e32f6b9c97fd6981006c8 /clang/lib/CodeGen/ModuleBuilder.cpp
parent660f714e26999d266232a1fbb02712bb879bd34e (diff)
downloadllvm-a919a3a1e739ce18d6c3026c553846544c2168e8.zip
llvm-a919a3a1e739ce18d6c3026c553846544c2168e8.tar.gz
llvm-a919a3a1e739ce18d6c3026c553846544c2168e8.tar.bz2
[CodeGen][NFC] Declare copy constructor & copy assignment as deleted for ScheduleDAG
ScheduleDAG has derived classes ScheduleDAGVLIW and ScheduleDAGRRList, which own resources that are freed in their destructors. Static analyzer warns b/c they do not have user-written copy constructors. According to the design of ScheduleDAG, it seems that it should always be passed by reference. So I declare them as deleted in this patch. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D151538
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions