1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-23 16:23:52 +02:00

Make new constructor private to avoid adding API

APIs cannot be added in a maintenance build.

Change-Id: I1604112981f4c22ddd2781a9b28d28e3bb9aff52
This commit is contained in:
Marc Khouzam 2017-02-20 21:19:36 -05:00
parent e65a288a8a
commit 6fdc9c409c

View file

@ -98,11 +98,8 @@ public class GPPScannerExtensionConfiguration extends GNUScannerExtensionConfigu
this(CompilerType.GCC, version);
}
/**
* @since 6.3
*/
@SuppressWarnings("nls")
public GPPScannerExtensionConfiguration(CompilerType compiler, int version) {
private GPPScannerExtensionConfiguration(CompilerType compiler, int version) {
addMacro("__null", "0");
addMacro("__builtin_offsetof(T,m)", "(reinterpret_cast <size_t>(&reinterpret_cast <const volatile char &>(static_cast<T*> (0)->m)))");
addKeyword(Keywords.c_COMPLEX, IToken.t__Complex);