Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorbjörn Svensson2020-10-21 13:59:07 -0400
committerJonah Graham2020-10-24 16:54:40 -0400
commitc5a53bb7fe97a32d675812cc0f4acdda009e3862 (patch)
tree7ae1857a5c35968b29c215f26eb92a7aa80c2b45 /core/org.eclipse.cdt.core.native/.project
parent0429be17e1a03b635d2b5209928bcd99eacdcef0 (diff)
downloadorg.eclipse.cdt-c5a53bb7fe97a32d675812cc0f4acdda009e3862.tar.gz
org.eclipse.cdt-c5a53bb7fe97a32d675812cc0f4acdda009e3862.tar.xz
org.eclipse.cdt-c5a53bb7fe97a32d675812cc0f4acdda009e3862.zip
Bug 568079: Format C/C++ code
Added a new C/C++ formatter profile called "Unmanaged profile 'CDT'" (name stolen from the Java formatter) that is basically K&R with the tweak of maxium line width set to 120 (same width as for .java files). Added enforcement of the formatter during build. libspawner.so/jnilib have differences because the re-formatting changes line numbers and therefore the __LINE__ macro expands to a different value. Change-Id: Id3a0619cb31640c7817dc684c72139f90cab0fc6 Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Diffstat (limited to 'core/org.eclipse.cdt.core.native/.project')
-rw-r--r--core/org.eclipse.cdt.core.native/.project1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.native/.project b/core/org.eclipse.cdt.core.native/.project
index 16748cc2a7f..7b153603502 100644
--- a/core/org.eclipse.cdt.core.native/.project
+++ b/core/org.eclipse.cdt.core.native/.project
@@ -30,5 +30,6 @@
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ <nature>org.eclipse.cdt.core.cnature</nature>
</natures>
</projectDescription>

Back to the top