OMPTransformDirectiveScopeRAII doesn't have user-written copy
constructor/assignment operator but it frees memory in the destructor.
Delete these members since doesn't seem that OMPTransformDirectiveScopeRAII
objects are intended for copy.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good; the default implementations would definitely do the wrong thing, so this is a good find. My suggested edit is just to add a blank line.
| clang/lib/CodeGen/CGStmtOpenMP.cpp | ||
|---|---|---|
| 1823–1826 | ||