зеркало из https://github.com/microsoft/clang-1.git
c-index-test.c: Fix syntax. It is C source.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144272 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
b99785bdd1
Коммит
9190943fef
|
@ -2510,13 +2510,14 @@ static void printFixIts(CXDiagnostic D, unsigned indent) {
|
|||
}
|
||||
|
||||
static void printDiagnosticSet(CXDiagnosticSet Diags, unsigned indent) {
|
||||
unsigned i, n;
|
||||
|
||||
if (!Diags)
|
||||
return;
|
||||
|
||||
fprintf(stderr, "\n");
|
||||
|
||||
unsigned i = 0;
|
||||
unsigned n = clang_getNumDiagnosticsInSet(Diags);
|
||||
n = clang_getNumDiagnosticsInSet(Diags);
|
||||
for (i = 0; i < n; ++i) {
|
||||
CXSourceLocation DiagLoc;
|
||||
CXDiagnostic D;
|
||||
|
|
Загрузка…
Ссылка в новой задаче