Mercurial > hg > truffle
annotate graal/com.oracle.graal.graph/.checkstyle_checks.xml @ 5880:afd2508528f5
The targetAdress should be moved to a fixed register for indirect call. Fix from Christian Wimmer
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 07 Aug 2012 11:13:17 -0700 |
parents | 13321732f85c |
children | 45661f68f317 |
rev | line source |
---|---|
4144 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> | |
3 | |
4 <!-- | |
5 This configuration file was written by the eclipse-cs plugin configuration editor | |
6 --> | |
7 <!-- | |
8 Checkstyle-Configuration: Maxine Checks | |
9 Description: none | |
10 --> | |
11 <module name="Checker"> | |
12 <property name="severity" value="warning"/> | |
13 <module name="TreeWalker"> | |
14 <property name="tabWidth" value="4"/> | |
15 <module name="FileContentsHolder"/> | |
16 <module name="JavadocStyle"> | |
17 <property name="checkHtml" value="false"/> | |
18 </module> | |
19 <module name="LocalFinalVariableName"/> | |
20 <module name="LocalVariableName"/> | |
21 <module name="MemberName"> | |
22 <property name="format" value="^(([a-z][a-zA-Z0-9]*$)|(_[A-Z][a-zA-Z0-9]*_[a-z][a-zA-Z0-9]*$))"/> | |
23 </module> | |
24 <module name="MethodName"> | |
25 <property name="format" value="^[a-z][a-z_A-Z0-9]*$"/> | |
26 </module> | |
27 <module name="PackageName"/> | |
28 <module name="ParameterName"/> | |
29 <module name="TypeName"> | |
30 <property name="format" value="^[A-Z][_a-zA-Z0-9]*$"/> | |
31 </module> | |
32 <module name="RedundantImport"/> | |
33 <module name="LineLength"> | |
34 <property name="max" value="250"/> | |
35 </module> | |
36 <module name="MethodParamPad"/> | |
37 <module name="NoWhitespaceAfter"> | |
38 <property name="tokens" value="ARRAY_INIT,BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/> | |
39 </module> | |
40 <module name="NoWhitespaceBefore"> | |
41 <property name="tokens" value="SEMI,DOT,POST_DEC,POST_INC"/> | |
42 </module> | |
43 <module name="ParenPad"/> | |
44 <module name="TypecastParenPad"> | |
45 <property name="tokens" value="RPAREN,TYPECAST"/> | |
46 </module> | |
47 <module name="WhitespaceAfter"/> | |
48 <module name="WhitespaceAround"> | |
49 <property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,TYPE_EXTENSION_AND"/> | |
50 </module> | |
51 <module name="RedundantModifier"/> | |
52 <module name="AvoidNestedBlocks"> | |
53 <property name="allowInSwitchCase" value="true"/> | |
54 </module> | |
55 <module name="EmptyBlock"> | |
56 <property name="option" value="text"/> | |
57 <property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_TRY,LITERAL_WHILE,STATIC_INIT"/> | |
58 </module> | |
59 <module name="LeftCurly"/> | |
60 <module name="NeedBraces"/> | |
61 <module name="RightCurly"/> | |
62 <module name="DoubleCheckedLocking"> | |
63 <property name="severity" value="error"/> | |
64 </module> | |
65 <module name="EmptyStatement"/> | |
66 <module name="HiddenField"> | |
67 <property name="severity" value="ignore"/> | |
68 <property name="ignoreConstructorParameter" value="true"/> | |
69 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
70 </module> | |
71 <module name="FinalClass"/> | |
72 <module name="HideUtilityClassConstructor"> | |
73 <property name="severity" value="ignore"/> | |
74 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
75 </module> | |
76 <module name="ArrayTypeStyle"/> | |
77 <module name="UpperEll"/> | |
78 <module name="FallThrough"/> | |
79 <module name="FinalLocalVariable"> | |
80 <property name="severity" value="ignore"/> | |
81 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
82 </module> | |
83 <module name="MultipleVariableDeclarations"/> | |
84 <module name="StringLiteralEquality"> | |
85 <property name="severity" value="error"/> | |
86 </module> | |
87 <module name="SuperFinalize"/> | |
88 <module name="UnnecessaryParentheses"> | |
89 <property name="severity" value="ignore"/> | |
90 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
91 </module> | |
92 <module name="Indentation"> | |
93 <property name="severity" value="ignore"/> | |
94 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
95 </module> | |
96 <module name="StaticVariableName"> | |
97 <property name="format" value="^[A-Za-z][a-zA-Z0-9]*$"/> | |
98 </module> | |
99 <module name="EmptyForInitializerPad"/> | |
100 <module name="EmptyForIteratorPad"/> | |
101 <module name="ModifierOrder"/> | |
102 <module name="DefaultComesLast"/> | |
103 <module name="InnerAssignment"> | |
104 <property name="severity" value="ignore"/> | |
105 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
106 </module> | |
107 <module name="JUnitTestCase"/> | |
108 <module name="ModifiedControlVariable"/> | |
109 <module name="MutableException"> | |
110 <property name="severity" value="ignore"/> | |
111 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
112 </module> | |
113 <module name="ParameterAssignment"> | |
114 <property name="severity" value="ignore"/> | |
115 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
116 </module> | |
117 <module name="RegexpSinglelineJava"> | |
118 <metadata name="net.sf.eclipsecs.core.comment" value="Illegal trailing whitespace(s) at the end of the line."/> | |
119 <property name="format" value="\s$"/> | |
120 <property name="message" value="Illegal trailing whitespace(s) at the end of the line."/> | |
121 <property name="ignoreComments" value="true"/> | |
122 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Checks for trailing spaces at the end of a line"/> | |
123 </module> | |
124 <module name="RegexpSinglelineJava"> | |
125 <metadata name="net.sf.eclipsecs.core.comment" value="illegal space before a comma"/> | |
126 <property name="format" value=" ,"/> | |
127 <property name="message" value="illegal space before a comma"/> | |
128 <property name="ignoreComments" value="true"/> | |
129 <metadata name="com.atlassw.tools.eclipse.checkstyle.customMessage" value="Illegal whitespace before a comma."/> | |
130 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Checks for whitespace before a comma."/> | |
131 </module> | |
132 </module> | |
133 <module name="RegexpHeader"> | |
134 <property name="header" value="/\*\n \* Copyright \(c\) (20[0-9][0-9], )?20[0-9][0-9], Oracle and/or its affiliates. All rights reserved.\n \* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n \*\n \* This code is free software; you can redistribute it and/or modify it\n \* under the terms of the GNU General Public License version 2 only, as\n \* published by the Free Software Foundation.\n \*\n \* This code is distributed in the hope that it will be useful, but WITHOUT\n \* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n \* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License\n \* version 2 for more details \(a copy is included in the LICENSE file that\n \* accompanied this code\).\n \*\n \* You should have received a copy of the GNU General Public License version\n \* 2 along with this work; if not, write to the Free Software Foundation,\n \* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n \*\n \* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA\n \* or visit www.oracle.com if you need additional information or have any\n \* questions.\n \*/\n"/> | |
5521
13321732f85c
Only check .java files for correct header.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
5062
diff
changeset
|
135 <property name="fileExtensions" value="java"/> |
4144 | 136 </module> |
137 <module name="FileTabCharacter"> | |
138 <property name="severity" value="error"/> | |
139 </module> | |
140 <module name="NewlineAtEndOfFile"> | |
141 <property name="lineSeparator" value="lf"/> | |
142 </module> | |
143 <module name="Translation"/> | |
144 <module name="SuppressionCommentFilter"> | |
145 <property name="offCommentFormat" value="Checkstyle: stop constant name check"/> | |
146 <property name="onCommentFormat" value="Checkstyle: resume constant name check"/> | |
147 <property name="checkFormat" value="ConstantNameCheck"/> | |
148 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Allow non-conforming constant names"/> | |
149 </module> | |
150 <module name="SuppressionCommentFilter"> | |
151 <property name="offCommentFormat" value="Checkstyle: stop method name check"/> | |
152 <property name="onCommentFormat" value="Checkstyle: resume method name check"/> | |
153 <property name="checkFormat" value="MethodName"/> | |
154 <property name="checkC" value="false"/> | |
155 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable method name checks"/> | |
156 </module> | |
157 <module name="SuppressionCommentFilter"> | |
158 <property name="offCommentFormat" value="CheckStyle: stop parameter assignment check"/> | |
159 <property name="onCommentFormat" value="CheckStyle: resume parameter assignment check"/> | |
160 <property name="checkFormat" value="ParameterAssignment"/> | |
161 <property name="checkC" value="false"/> | |
162 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable Parameter Assignment"/> | |
163 </module> | |
164 <module name="SuppressionCommentFilter"> | |
165 <property name="offCommentFormat" value="Checkstyle: stop final variable check"/> | |
166 <property name="onCommentFormat" value="Checkstyle: resume final variable check"/> | |
167 <property name="checkFormat" value="FinalLocalVariable"/> | |
168 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable final variable checks"/> | |
169 </module> | |
170 <module name="SuppressionCommentFilter"> | |
171 <property name="offCommentFormat" value="Checkstyle: stop"/> | |
172 <property name="onCommentFormat" value="Checkstyle: resume"/> | |
173 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks"/> | |
174 </module> | |
175 <module name="SuppressionCommentFilter"> | |
176 <property name="offCommentFormat" value="// START GENERATED RAW ASSEMBLER METHODS"/> | |
177 <property name="onCommentFormat" value="// END GENERATED RAW ASSEMBLER METHODS"/> | |
178 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks for generated raw assembler methods"/> | |
179 </module> | |
180 <module name="SuppressionCommentFilter"> | |
181 <property name="offCommentFormat" value="// START GENERATED LABEL ASSEMBLER METHODS"/> | |
182 <property name="onCommentFormat" value="// END GENERATED LABEL ASSEMBLER METHODS"/> | |
183 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks for generated label assembler methods"/> | |
184 </module> | |
185 <module name="SuppressionCommentFilter"> | |
186 <property name="offCommentFormat" value="CheckStyle: stop inner assignment check"/> | |
187 <property name="onCommentFormat" value="CheckStyle: resume inner assignment check"/> | |
188 <property name="checkFormat" value="InnerAssignment"/> | |
189 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable inner assignment checks"/> | |
190 </module> | |
191 <module name="SuppressionCommentFilter"> | |
192 <property name="offCommentFormat" value="Checkstyle: stop field name check"/> | |
193 <property name="onCommentFormat" value="Checkstyle: resume field name check"/> | |
194 <property name="checkFormat" value="MemberName"/> | |
195 <property name="checkC" value="false"/> | |
196 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable field name checks"/> | |
197 </module> | |
198 <module name="RegexpMultiline"> | |
199 <metadata name="net.sf.eclipsecs.core.comment" value="illegal Windows line ending"/> | |
200 <property name="format" value="\r\n"/> | |
201 <property name="message" value="illegal Windows line ending"/> | |
202 </module> | |
203 </module> |