Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8cfef9861ff10e1b079748764ac4566be2916604 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*******************************************************************************
 * Copyright (c) 2004, 2005 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * IBM - Initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.core.dom.ast.gnu.cpp;

import org.eclipse.cdt.core.dom.ast.IASTPointer;

/**
 * g++ allows for restrict pointers.
 * 
 * @author jcamelon
 * @noimplement This interface is not intended to be implemented by clients.
 */
public interface IGPPASTPointer extends IASTPointer {

	/**
	 * Is this pointer a restrict pointer?
	 * 
	 * @return boolean
	 */
	public boolean isRestrict();

	/**
	 * Set restrict-keyword-encountered to true or false.
	 * 
	 * @param value
	 *            boolean
	 */
	public void setRestrict(boolean value);
	
	/**
	 * @since 5.1
	 */
	public IGPPASTPointer copy();
}

Back to the top