[cfe-commits] r59832 - /cfe/trunk/include/clang/Basic/Diagnostic.h
Chris Lattner
sabre at nondot.org
Fri Nov 21 10:59:21 PST 2008
Author: lattner
Date: Fri Nov 21 12:59:21 2008
New Revision: 59832
URL: http://llvm.org/viewvc/llvm-project?rev=59832&view=rev
Log:
rearrange some fields.
Modified:
cfe/trunk/include/clang/Basic/Diagnostic.h
Modified: cfe/trunk/include/clang/Basic/Diagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Diagnostic.h?rev=59832&r1=59831&r2=59832&view=diff
==============================================================================
--- 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[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;
-
/// 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
mailing list