[cfe-commits] r59832 - /cfe/trunk/include/clang/Basic/Diagnostic.h
sabre at nondot.org
Fri Nov 21 10:59:21 PST 2008
Date: Fri Nov 21 12:59:21 2008
New Revision: 59832
rearrange some fields.
--- cfe/trunk/include/clang/Basic/Diagnostic.h (original)
+++ cfe/trunk/include/clang/Basic/Diagnostic.h Fri Nov 21 12:59:21 2008
@@ -197,6 +197,12 @@
MaxArguments = 10
+ /// NumDiagArgs - This is set to -1 when no diag is in flight. Otherwise it
+ /// is the number of entries in Arguments.
+ signed char NumDiagArgs;
+ /// NumRanges - This is the number of ranges in the DiagRanges array.
+ unsigned char NumDiagRanges;
/// DiagArgumentsKind - This is an array of ArgumentKind::ArgumentKind enum
/// values, with one for each argument. This specifies whether the argument
/// is in DiagArgumentsStr or in DiagArguments.
@@ -217,12 +223,6 @@
/// only support 10 ranges, could easily be extended if needed.
const SourceRange *DiagRanges;
- /// NumDiagArgs - This is set to -1 when no diag is in flight. Otherwise it
- /// is the number of entries in Arguments.
- signed char NumDiagArgs;
- /// NumRanges - This is the number of ranges in the DiagRanges array.
- unsigned char NumDiagRanges;
/// ProcessDiag - This is the method used to report a diagnostic that is
/// finally fully formed.
void ProcessDiag(const DiagnosticInfo &Info);
More information about the cfe-commits