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

@ -41,7 +41,9 @@ module.exports = function getMappings(bundlePath) {
matchData.push({
genLineIndex,
sourceLineIndex,
sourceFile: sourceMap.sources[sourceFileIndex], genText, sourceText
sourceFile: sourceMap.sources[sourceFileIndex],
genText,
sourceText
});
}
@ -59,6 +61,7 @@ function getFile(filePath) {
}
function decodeLines(sourceMap) {
return sourceMap.mappings.split(';').map(
line => { return line.split(',').map(seg => vlq.decode(seg)); });
return sourceMap.mappings.split(';').map(line => {
return line.split(',').map(seg => vlq.decode(seg));
});
}