diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -627,9 +627,9 @@ llvm::sys::path::native(NativeMainFileName); MainFileName = (std::string)NativeMainFileName.str(); - llvm::DIFile *CUFile = DBuilder.createFile( - MainFileName, remapDIPath(getCurrentDirname()), CSInfo, - getSource(SM, SM.getMainFileID())); + llvm::DIFile *CUFile = + DBuilder.createFile(MainFileName, remapDIPath(getCurrentDirname()), + CSInfo, getSource(SM, SM.getMainFileID())); StringRef Sysroot, SDK; if (CGM.getCodeGenOpts().getDebuggerTuning() == llvm::DebuggerKind::LLDB) { diff --git a/clang/test/CodeGenCXX/linetable-fnbegin.cpp b/clang/test/CodeGenCXX/linetable-fnbegin.cpp --- a/clang/test/CodeGenCXX/linetable-fnbegin.cpp +++ b/clang/test/CodeGenCXX/linetable-fnbegin.cpp @@ -12,7 +12,6 @@ // We shouldn't need a lexical block for this function. // CHECK: [[DBG]] = !DILocation(line: 23, column: 3, scope: [[SP]]) - # 1 "./template.h" 1 template class Foo {