Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2017-02-20 21:19:36 -0500
committerMarc Khouzam2017-02-20 21:25:09 -0500
commit6fdc9c409c364820cdb0ab3e0d02041d620f6f93 (patch)
tree87f521c4415dce7fcc72cd3a7a8f26f504725b63
parente65a288a8a2b70b0cf0c5c972c8eaa5984815aa8 (diff)
downloadorg.eclipse.cdt-6fdc9c409c364820cdb0ab3e0d02041d620f6f93.tar.gz
org.eclipse.cdt-6fdc9c409c364820cdb0ab3e0d02041d620f6f93.tar.xz
org.eclipse.cdt-6fdc9c409c364820cdb0ab3e0d02041d620f6f93.zip
Make new constructor private to avoid adding API
APIs cannot be added in a maintenance build. Change-Id: I1604112981f4c22ddd2781a9b28d28e3bb9aff52
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/cpp/GPPScannerExtensionConfiguration.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/cpp/GPPScannerExtensionConfiguration.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/cpp/GPPScannerExtensionConfiguration.java
index b13394c93d..494bb1fe22 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/cpp/GPPScannerExtensionConfiguration.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/cpp/GPPScannerExtensionConfiguration.java
@@ -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);

Back to the top