style(compiler-cli): reformat of codebase with new clang-format version (#36520)

This commit reformats the packages/compiler-cli tree using the new version
of clang-format.

PR Close #36520
This commit is contained in:
Alex Rickabaugh
2020-04-07 12:43:43 -07:00
committed by atscott
parent 717df13207
commit 0a69a2832b
205 changed files with 2949 additions and 2122 deletions

View File

@ -11,7 +11,7 @@ import * as ts from 'typescript';
import {isMetadataGlobalReferenceExpression} from '../../src/metadata/schema';
import {Symbols} from '../../src/metadata/symbols';
import {Directory, Host, expectNoDiagnostics} from './typescript.mocks';
import {Directory, expectNoDiagnostics, Host} from './typescript.mocks';
describe('Symbols', () => {
let symbols: Symbols;
@ -42,9 +42,9 @@ describe('Symbols', () => {
beforeEach(() => {
host = new Host(FILES, ['consts.ts', 'expressions.ts', 'imports.ts']);
service = ts.createLanguageService(host);
program = service.getProgram() !;
expressions = program.getSourceFile('expressions.ts') !;
imports = program.getSourceFile('imports.ts') !;
program = service.getProgram()!;
expressions = program.getSourceFile('expressions.ts')!;
imports = program.getSourceFile('imports.ts')!;
});
it('should not have syntax errors in the test sources', () => {
@ -111,7 +111,7 @@ describe('Symbols', () => {
}
return false;
};
ts.forEachChild(core !, visit);
ts.forEachChild(core!, visit);
});
});