Skip to content

Commit c6a3d68

Browse files
committed
[DTLTO] Fixed after merge artifacts and fixed source formatting for DTLTOInputFiles.cpp.
1 parent 49237be commit c6a3d68

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

clang/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,4 +256,4 @@ endif()
256256

257257
add_subdirectory(Analysis/LifetimeSafety)
258258

259-
add_dependencies(check-clang-format clang-format-check-format)
259+
add_dependencies(clang-format-check-format)

llvm/lib/DTLTO/DTLTOInputFiles.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434

3535
using namespace llvm;
3636

37-
3837
// Saves the content of Buffer to Path overwriting any existing file.
3938
Error lto::DTLTO::save(StringRef Buffer, StringRef Path) {
4039
std::error_code EC;
@@ -51,7 +50,7 @@ Error lto::DTLTO::save(StringRef Buffer, StringRef Path) {
5150
}
5251

5352
namespace {
54-
// Normalize and save a path. Aside from expanding Windows 8.3 short paths,
53+
// Normalize and save a path. Aside from expanding Windows 8.3 short paths,
5554
// no other normalization is currently required here. These paths are
5655
// machine-local and break distribution systems; other normalization is
5756
// handled by the DTLTO distributors.

llvm/tools/llvm-lto2/llvm-lto2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ static int run(int argc, char **argv) {
532532
if (HasErrors)
533533
return 1;
534534

535-
Lto.setBitcodeLibFuncs(
535+
Lto->setBitcodeLibFuncs(
536536
SmallVector<StringRef>(BitcodeLibFuncs.begin(), BitcodeLibFuncs.end()));
537537

538538
FileCache Cache;

0 commit comments

Comments
 (0)