Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 92dc395b217468ca9effba339c90db9a0e84844a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*******************************************************************************
 * Copyright (c) 2019 Marco Stornelli
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 *******************************************************************************/
package org.eclipse.cdt.codan.internal.checkers.ui.quickfix;

import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTCastExpression;

public class QuickFixCppCastDynamic extends AbstractQuickFixCppCast {

	@Override
	public String getLabel() {
		return QuickFixMessages.QuickFixCppCast_dynamic_cast;
	}

	@Override
	protected int getCastType() {
		return ICPPASTCastExpression.op_dynamic_cast;
	}

}

Back to the top