Skip to main content
summaryrefslogtreecommitdiffstats
path: root/xlc
diff options
context:
space:
mode:
authorJonah Graham2018-11-22 18:46:49 -0500
committerJonah Graham2018-11-23 02:52:26 -0500
commitff75ae80fa44dfc925064f7ca0169ac80997bc77 (patch)
tree7db3666d26eeae703d9bc650d5d4540bc71406fb /xlc
parentbe35c7327d2a6168718afea45181a058a7d414fa (diff)
downloadorg.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.tar.gz
org.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.tar.xz
org.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.zip
Bug 540373: Cleanup: Remove trailing whitespace in properties files
Command used: # Remove space at eol in comments find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} + # Remove space at eol in blank lines find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} + # Replace escaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} + # Replace unescaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} + # Replace escaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} + # Replace unescaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} + # Stage all changes git add -A . # trim any remaining whitespace and then identify and fixup # manually # Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties # needed this due to missing newline at end of the file find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} + Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
Diffstat (limited to 'xlc')
-rw-r--r--xlc/org.eclipse.cdt.core.lrparser.xlc/ui/org/eclipse/cdt/internal/core/lrparser/xlc/ui/preferences/PreferenceMessages.properties2
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties2
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc/build.properties2
-rwxr-xr-xxlc/org.eclipse.cdt.errorparsers.xlc/plugin.properties2
-rw-r--r--xlc/org.eclipse.cdt.make.xlc.core/build.properties2
-rw-r--r--xlc/org.eclipse.cdt.make.xlc.core/plugin.properties2
-rw-r--r--xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/messages/Messages.properties4
-rw-r--r--xlc/org.eclipse.cdt.managedbuilder.xlc.core/about.properties2
-rw-r--r--xlc/org.eclipse.cdt.managedbuilder.xlc.core/build.properties2
-rw-r--r--xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.properties2
-rw-r--r--xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties2
-rw-r--r--xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties10
-rw-r--r--xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/build.properties2
-rw-r--r--xlc/org.eclipse.cdt.xlc.feature/feature.properties2
-rw-r--r--xlc/org.eclipse.cdt.xlc.sdk-feature/feature.properties2
15 files changed, 20 insertions, 20 deletions
diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc/ui/org/eclipse/cdt/internal/core/lrparser/xlc/ui/preferences/PreferenceMessages.properties b/xlc/org.eclipse.cdt.core.lrparser.xlc/ui/org/eclipse/cdt/internal/core/lrparser/xlc/ui/preferences/PreferenceMessages.properties
index a0c30ca195..2562cc9719 100644
--- a/xlc/org.eclipse.cdt.core.lrparser.xlc/ui/org/eclipse/cdt/internal/core/lrparser/xlc/ui/preferences/PreferenceMessages.properties
+++ b/xlc/org.eclipse.cdt.core.lrparser.xlc/ui/org/eclipse/cdt/internal/core/lrparser/xlc/ui/preferences/PreferenceMessages.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties
index add434c947..35a8eda06f 100644
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties
+++ b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc/build.properties b/xlc/org.eclipse.cdt.errorparsers.xlc/build.properties
index 2979f474f2..cdba9cf7df 100644
--- a/xlc/org.eclipse.cdt.errorparsers.xlc/build.properties
+++ b/xlc/org.eclipse.cdt.errorparsers.xlc/build.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc/plugin.properties b/xlc/org.eclipse.cdt.errorparsers.xlc/plugin.properties
index dacdf30e0b..8bed0bb728 100755
--- a/xlc/org.eclipse.cdt.errorparsers.xlc/plugin.properties
+++ b/xlc/org.eclipse.cdt.errorparsers.xlc/plugin.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/xlc/org.eclipse.cdt.make.xlc.core/build.properties b/xlc/org.eclipse.cdt.make.xlc.core/build.properties
index 76262639c6..8b7cd7910f 100644
--- a/xlc/org.eclipse.cdt.make.xlc.core/build.properties
+++ b/xlc/org.eclipse.cdt.make.xlc.core/build.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/xlc/org.eclipse.cdt.make.xlc.core/plugin.properties b/xlc/org.eclipse.cdt.make.xlc.core/plugin.properties
index 49ac0a6916..e5a6ec8352 100644
--- a/xlc/org.eclipse.cdt.make.xlc.core/plugin.properties
+++ b/xlc/org.eclipse.cdt.make.xlc.core/plugin.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/messages/Messages.properties b/xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/messages/Messages.properties
index 3e1c0f4607..14a8b8f022 100644
--- a/xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/messages/Messages.properties
+++ b/xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/messages/Messages.properties
@@ -13,5 +13,5 @@
###############################################################################
PerFileXLCScannerInfoCollector.0=Updating discovered includes and macros
PerFileXLCScannerInfoCollector.1=Error updating discovered info.
-ScannerInfoCollector.Processing=Processing discovered scanner configuration ...
-ScannerInfoCollector.Updating=Updating Scanner Configuration for project
+ScannerInfoCollector.Processing=Processing discovered scanner configuration ...\u0020
+ScannerInfoCollector.Updating=Updating Scanner Configuration for project\u0020
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/about.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/about.properties
index da9ade1270..fe5a951fd8 100644
--- a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/about.properties
+++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/about.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# Wind River Systems - initial API and implementation
###############################################################################
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/build.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/build.properties
index b4ce737b0c..cb8d17b1e4 100644
--- a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/build.properties
+++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/build.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.properties
index c6a9943e60..fd953f3099 100644
--- a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.properties
+++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties
index fd4e620d8a..5d89bc231b 100644
--- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties
+++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties
index 9f3accaeb6..934ae57a42 100644
--- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties
+++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties
@@ -117,7 +117,7 @@ Option.sourcetype.assembler = assembler
Option.stdframework = Search standard framework directories (-qstdframework)
Option.frameworkdirs = Specify additional framework directories (-qframeworkdir)
Option.Input = Don't search the default search path directories (-qnostdinc)
-Option.Warn.Syntax =Perform syntax checking without generating an object file(-qsyntaxonly)
+Option.Warn.Syntax =Perform syntax checking without generating an object file(-qsyntaxonly)\u0020
Option.Trigraph=Recognize tri-graph key combinations
Option.Utf=Enable recognition of UTF literal syntax (-qutf)
Option.plus = Compile any file as a C++ file (-+)
@@ -134,7 +134,7 @@ Option.PreprocOnly=Preprocess the source files and create an output preprocessed
Option.PreprocRemoveComments=Remove comments from preprocessed output (-C!)
Option.M=Create an output file that contains targets for the make command (-M)
Option.ma=Substitute inline code for calls to alloca (-ma)
-Option.o=Specify an output location for the files created by the compiler (-o)
+Option.o=Specify an output location for the files created by the compiler (-o)\u0020
Option.P=Preprocess the source files and create an output preprocessed source file for each source file(-P)
Option.Assem=Generate an assembler language file for each source file(-S)
Option.Strip=Strip symbol table, line number information and relocation information from source file(-s)
@@ -166,7 +166,7 @@ Option.Pic.Small=Small
Option.Pic.Large=Large
Option.noro=Do not place string literals in read only storage (-qnoro)
Option.noroconst=Do not place constant values in read only storage (-qnoroconst)
-Option.roptr=Place constant pointers in read only storage (-qroptr)
+Option.roptr=Place constant pointers in read only storage (-qroptr)\u0020
Option.Statsym=Generate symbols for static variables (-qstatsym )
Option.xcall=Generate code to treat static functions as external functions (-qxcall )
Option.funcsect=Place instructions for each function in a separate object file control section or csect (-qfuncsect)
@@ -257,7 +257,7 @@ Option.ignerrno = Perform optimizations which assume errno is not modified by sy
Option.optimization.inline = Attempt to inline functions (-qinline=)
Option.optimization.ipa = Customize interprocedural analysis optimizations(-qipa=)
Option.optimization.isolatedcall = Functions in source file that have no side effects (-qisolated_call=name1:name2:...:nameN)
-Option.optimization.keepinlines =
+Option.optimization.keepinlines =\u0020
Option.largepage = Exploit large page heaps available on POWER4(TM) systems running AIX(R) 5.1D or later (-qlargepage)
Option.libansi = Assume all functions in the name of ansi C function are system functions (-qlibansi)
Option.pdf1 = Tune optimizations through Profile Directed Feedback: first run (-qpdf1)
@@ -291,7 +291,7 @@ Option.optimization.qprefetch = Insert prefetch instructions automatically where
Option.Linking.b = Control how shared objects are processed by the editor (-b)
Option.linking.brtl = Enable runtime linking for the output file (-brtl)
Option.Linking.e = Set the entry name for the shared executable(-e )
-Option.Linking.f =
+Option.Linking.f =\u0020
Option.linking.G = Create a shared object enabled for runtime linking (-G)
Option.Linking.L = Search the path directory for the library files specified by the -lkey option (-L)
Option.Linking.l = Search the specified library file(-l)
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/build.properties b/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/build.properties
index 7e48786131..5d28cf185b 100644
--- a/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/build.properties
+++ b/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/build.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/xlc/org.eclipse.cdt.xlc.feature/feature.properties b/xlc/org.eclipse.cdt.xlc.feature/feature.properties
index ed53eac15f..b502882cfa 100644
--- a/xlc/org.eclipse.cdt.xlc.feature/feature.properties
+++ b/xlc/org.eclipse.cdt.xlc.feature/feature.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/xlc/org.eclipse.cdt.xlc.sdk-feature/feature.properties b/xlc/org.eclipse.cdt.xlc.sdk-feature/feature.properties
index 2d626ed579..6123503cfc 100644
--- a/xlc/org.eclipse.cdt.xlc.sdk-feature/feature.properties
+++ b/xlc/org.eclipse.cdt.xlc.sdk-feature/feature.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################

Back to the top