build: reformat repo to new clang@1.4.0 (#36628)

PR Close #36628
This commit is contained in:
Joey Perrott
2020-04-13 17:43:52 -07:00
committed by atscott
parent 4b3f9ac739
commit 26f49151e7
1163 changed files with 31727 additions and 24036 deletions

View File

@ -9,7 +9,9 @@
import * as ts from 'typescript';
export interface Symbol { name: string; }
export interface Symbol {
name: string;
}
export class SymbolExtractor {
public actual: Symbol[];
@ -75,7 +77,7 @@ export class SymbolExtractor {
// All symbols in the golden file start out with a count corresponding to the number of symbols
// with that name. Once they are matched with symbols in the actual output, the count should
// even out to 0.
(expected as(Symbol | string)[]).forEach((nameOrSymbol) => {
(expected as (Symbol | string)[]).forEach((nameOrSymbol) => {
const symbolName = typeof nameOrSymbol == 'string' ? nameOrSymbol : nameOrSymbol.name;
diff[symbolName] = (diff[symbolName] || 0) + 1;
});