You can delete C/C++ elements from diagrams.
You must be in the C/C++ perspective and have
a diagram open in the diagram editor.
To delete C/C++ elements from a diagram, in the diagram
editor, right-click a C/C++ element; then click Delete
from Diagram.
Note: When you delete C/C++ elements from
class diagrams, the underlying semantics remain intact.