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

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

PR Close #36520
This commit is contained in:
Alex Rickabaugh
2020-04-08 10:14:18 -07:00
committed by atscott
parent d5aa6b5bd6
commit cbed582a1a
193 changed files with 5904 additions and 4574 deletions

View File

@ -97,7 +97,9 @@ export function extractSchema(): Map<string, string[]>|null {
types.sort();
types.forEach(type => { extractRecursiveProperties(visited, descMap, (window as any)[type]); });
types.forEach(type => {
extractRecursiveProperties(visited, descMap, (window as any)[type]);
});
// Add elements missed by Chrome auto-detection
Object.keys(MISSING_FROM_CHROME).forEach(elHierarchy => {
@ -125,7 +127,7 @@ function assertNoMissingTags(descMap: Map<string, string[]>): void {
function extractRecursiveProperties(
visited: {[name: string]: boolean}, descMap: Map<string, string[]>, type: Function): string {
const name = extractName(type) !;
const name = extractName(type)!;
if (visited[name]) {
return name;
@ -181,7 +183,7 @@ function extractProperties(
const fullName = name + (superName ? '^' + superName : '');
const props: string[] = descMap.has(fullName) ? descMap.get(fullName) ! : [];
const props: string[] = descMap.has(fullName) ? descMap.get(fullName)! : [];
const prototype = type.prototype;
const keys = Object.getOwnPropertyNames(prototype);