From: Chris Lattner Date: Fri, 21 Nov 2008 18:59:21 +0000 (+0000) Subject: rearrange some fields. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=730e0fdbbf9b315ef834074054ac55af3a4fcc0c;p=clang rearrange some fields. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59832 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/Diagnostic.h b/include/clang/Basic/Diagnostic.h index e6fe2a4a7b..79d6c1b6fb 100644 --- a/include/clang/Basic/Diagnostic.h +++ b/include/clang/Basic/Diagnostic.h @@ -197,6 +197,12 @@ private: 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 @@ private: /// 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);