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:
parent
e65a288a8a
commit
6fdc9c409c
1 changed files with 1 additions and 4 deletions
|
@ -98,11 +98,8 @@ public class GPPScannerExtensionConfiguration extends GNUScannerExtensionConfigu
|
||||||
this(CompilerType.GCC, version);
|
this(CompilerType.GCC, version);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @since 6.3
|
|
||||||
*/
|
|
||||||
@SuppressWarnings("nls")
|
@SuppressWarnings("nls")
|
||||||
public GPPScannerExtensionConfiguration(CompilerType compiler, int version) {
|
private GPPScannerExtensionConfiguration(CompilerType compiler, int version) {
|
||||||
addMacro("__null", "0");
|
addMacro("__null", "0");
|
||||||
addMacro("__builtin_offsetof(T,m)", "(reinterpret_cast <size_t>(&reinterpret_cast <const volatile char &>(static_cast<T*> (0)->m)))");
|
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);
|
addKeyword(Keywords.c_COMPLEX, IToken.t__Complex);
|
||||||
|
|
Loading…
Add table
Reference in a new issue