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

PR Close #36613
This commit is contained in:
Joey Perrott
2020-04-13 16:40:21 -07:00
committed by atscott
parent 5e80e7e216
commit 698b0288be
1160 changed files with 31667 additions and 24000 deletions

View File

@ -21,7 +21,9 @@ function unimplemented(): any {
*/
@Injectable()
export class TestingCompiler extends Compiler {
get injector(): Injector { throw unimplemented(); }
get injector(): Injector {
throw unimplemented();
}
overrideModule(module: Type<any>, overrides: MetadataOverride<NgModule>): void {
throw unimplemented();
}
@ -38,20 +40,26 @@ export class TestingCompiler extends Compiler {
* Allows to pass the compile summary from AOT compilation to the JIT compiler,
* so that it can use the code generated by AOT.
*/
loadAotSummaries(summaries: () => any[]) { throw unimplemented(); }
loadAotSummaries(summaries: () => any[]) {
throw unimplemented();
}
/**
* Gets the component factory for the given component.
* This assumes that the component has been compiled before calling this call using
* `compileModuleAndAllComponents*`.
*/
getComponentFactory<T>(component: Type<T>): ComponentFactory<T> { throw unimplemented(); }
getComponentFactory<T>(component: Type<T>): ComponentFactory<T> {
throw unimplemented();
}
/**
* Returns the component type that is stored in the given error.
* This can be used for errors created by compileModule...
*/
getComponentFromError(error: Error): Type<any>|null { throw unimplemented(); }
getComponentFromError(error: Error): Type<any>|null {
throw unimplemented();
}
}
/**