Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: runtime/vm/class_finalizer.h

Issue 340203003: Cleanup of error and warning reporting. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_CLASS_FINALIZER_H_ 5 #ifndef VM_CLASS_FINALIZER_H_
6 #define VM_CLASS_FINALIZER_H_ 6 #define VM_CLASS_FINALIZER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/growable_array.h" 9 #include "vm/growable_array.h"
10 10
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 const TypeArguments& arguments, 155 const TypeArguments& arguments,
156 Error* bound_error); 156 Error* bound_error);
157 static void ResolveUpperBounds(const Class& cls); 157 static void ResolveUpperBounds(const Class& cls);
158 static void FinalizeUpperBounds(const Class& cls); 158 static void FinalizeUpperBounds(const Class& cls);
159 static void ResolveAndFinalizeSignature(const Class& cls, 159 static void ResolveAndFinalizeSignature(const Class& cls,
160 const Function& function); 160 const Function& function);
161 static void ResolveAndFinalizeMemberTypes(const Class& cls); 161 static void ResolveAndFinalizeMemberTypes(const Class& cls);
162 static void PrintClassInformation(const Class& cls); 162 static void PrintClassInformation(const Class& cls);
163 static void CollectInterfaces(const Class& cls, 163 static void CollectInterfaces(const Class& cls,
164 const GrowableObjectArray& interfaces); 164 const GrowableObjectArray& interfaces);
165 static void ReportMalformedType(const Error& prev_error, 165 static void MarkTypeMalformed(const Error& prev_error,
166 const Script& script, 166 const Script& script,
167 const Type& type, 167 const Type& type,
168 const char* format, 168 const char* format,
169 va_list args); 169 va_list args);
170 static void ReportError(const Error& error); 170 static void ReportError(const Error& error);
171 static void ReportError(const Error& prev_error, 171 static void ReportError(const Class& cls,
172 const Script& script, 172 intptr_t token_pos,
173 intptr_t token_index, 173 const char* format, ...) PRINTF_ATTRIBUTE(3, 4);
174 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); 174 static void ReportErrors(const Error& prev_error,
175 const Class& cls,
176 intptr_t token_pos,
177 const char* format, ...) PRINTF_ATTRIBUTE(4, 5);
175 178
176 // Verify implicit offsets recorded in the VM for direct access to fields of 179 // Verify implicit offsets recorded in the VM for direct access to fields of
177 // Dart instances (e.g: _TypedListView, _ByteDataView). 180 // Dart instances (e.g: _TypedListView, _ByteDataView).
178 static void VerifyImplicitFieldOffsets(); 181 static void VerifyImplicitFieldOffsets();
179 }; 182 };
180 183
181 } // namespace dart 184 } // namespace dart
182 185
183 #endif // VM_CLASS_FINALIZER_H_ 186 #endif // VM_CLASS_FINALIZER_H_
OLDNEW
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698