forked from OSchip/llvm-project
c-index-test.c: Fix syntax. It is C source.
llvm-svn: 144272
This commit is contained in:
parent
e63abb5d2b
commit
77d9739249
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue