FailedChanges

Summary

  1. Change std::{lower,upper}_bound to llvm::{lower,upper}_bound or llvm::partition_point. NFC
  2. [clang][HeaderSearch] Shorten paths for includes in mainfile's directory Summary: Currently HeaderSearch only looks at SearchDir's passed into it, but in addition to those paths headers can be relative to including file's directory. This patch makes sure that is taken into account. Reviewers: gribozavr Subscribers: jkorous, arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D63295
  3. Avoid identifiers that are different only in case. NFC.
  4. Avoid identifiers that are different only in case. NFC. Some variables in lld have the same name as functions ignoring case. This patch gives them different names, so that my next patch is easier to read.
  5. [LoopPeel] Re-factor llvm::peelLoop method. NFC. Extract code dealing with branch weights in separate functions. Reviewers: reames, mkuper, iajbar, fhahn Reviewed By: reames, fhahn Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D63917
  6. Revert r364999: [lld] Use -o /dev/null in test when output is not needed. This reverts commit r364999 as it broke a build. Looks like `%t.archive.o` is used two lines below where it was created.
Revision 365006 by maskray:
Change std::{lower,upper}_bound to llvm::{lower,upper}_bound or llvm::partition_point. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Serialization/ContinuousRangeMap.h (diff)clang.src/include/clang/Serialization/ContinuousRangeMap.h
The file was modified/cfe/trunk/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp (diff)clang.src/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp
The file was modified/cfe/trunk/lib/AST/ASTContext.cpp (diff)clang.src/lib/AST/ASTContext.cpp
The file was modified/cfe/trunk/lib/AST/DeclCXX.cpp (diff)clang.src/lib/AST/DeclCXX.cpp
The file was modified/cfe/trunk/lib/Basic/Diagnostic.cpp (diff)clang.src/lib/Basic/Diagnostic.cpp
The file was modified/cfe/trunk/lib/Basic/DiagnosticIDs.cpp (diff)clang.src/lib/Basic/DiagnosticIDs.cpp
The file was modified/cfe/trunk/lib/Basic/SourceManager.cpp (diff)clang.src/lib/Basic/SourceManager.cpp
The file was modified/cfe/trunk/lib/CodeGen/CGBuiltin.cpp (diff)clang.src/lib/CodeGen/CGBuiltin.cpp
The file was modified/cfe/trunk/lib/CodeGen/CGExprConstant.cpp (diff)clang.src/lib/CodeGen/CGExprConstant.cpp
The file was modified/cfe/trunk/lib/Frontend/ASTUnit.cpp (diff)clang.src/lib/Frontend/ASTUnit.cpp
The file was modified/cfe/trunk/lib/Index/FileIndexRecord.cpp (diff)clang.src/lib/Index/FileIndexRecord.cpp
The file was modified/cfe/trunk/lib/Lex/PPConditionalDirectiveRecord.cpp (diff)clang.src/lib/Lex/PPConditionalDirectiveRecord.cpp
The file was modified/cfe/trunk/lib/Lex/PreprocessingRecord.cpp (diff)clang.src/lib/Lex/PreprocessingRecord.cpp
The file was modified/cfe/trunk/lib/Parse/ParseStmtAsm.cpp (diff)clang.src/lib/Parse/ParseStmtAsm.cpp
The file was modified/cfe/trunk/lib/Sema/SemaChecking.cpp (diff)clang.src/lib/Sema/SemaChecking.cpp
The file was modified/cfe/trunk/lib/Sema/SemaStmt.cpp (diff)clang.src/lib/Sema/SemaStmt.cpp
The file was modified/cfe/trunk/lib/Serialization/ASTReader.cpp (diff)clang.src/lib/Serialization/ASTReader.cpp
The file was modified/cfe/trunk/lib/Serialization/ASTWriter.cpp (diff)clang.src/lib/Serialization/ASTWriter.cpp
The file was modified/cfe/trunk/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp (diff)clang.src/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp
The file was modified/cfe/trunk/lib/Tooling/InterpolatingCompilationDatabase.cpp (diff)clang.src/lib/Tooling/InterpolatingCompilationDatabase.cpp
The file was modified/cfe/trunk/tools/diagtool/DiagnosticNames.cpp (diff)clang.src/tools/diagtool/DiagnosticNames.cpp
The file was modified/cfe/trunk/tools/diagtool/TreeView.cpp (diff)clang.src/tools/diagtool/TreeView.cpp
Revision 365005 by kadircet:
[clang][HeaderSearch] Shorten paths for includes in mainfile's directory

Summary:
Currently HeaderSearch only looks at SearchDir's passed into it, but in
addition to those paths headers can be relative to including file's directory.

This patch makes sure that is taken into account.

Reviewers: gribozavr

Subscribers: jkorous, arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D63295
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Lex/HeaderSearch.h (diff)clang.src/include/clang/Lex/HeaderSearch.h
The file was modified/cfe/trunk/lib/Lex/HeaderSearch.cpp (diff)clang.src/lib/Lex/HeaderSearch.cpp
The file was modified/cfe/trunk/lib/Sema/SemaLookup.cpp (diff)clang.src/lib/Sema/SemaLookup.cpp
The file was modified/cfe/trunk/unittests/Lex/HeaderSearchTest.cpp (diff)clang.src/unittests/Lex/HeaderSearchTest.cpp
The file was modified/clang-tools-extra/trunk/clang-include-fixer/IncludeFixer.cpp (diff)clang-tools-extra.src/clang-include-fixer/IncludeFixer.cpp
The file was modified/clang-tools-extra/trunk/clangd/CodeComplete.cpp (diff)clang-tools-extra.src/clangd/CodeComplete.cpp
The file was modified/clang-tools-extra/trunk/clangd/Headers.cpp (diff)clang-tools-extra.src/clangd/Headers.cpp
The file was modified/clang-tools-extra/trunk/clangd/Headers.h (diff)clang-tools-extra.src/clangd/Headers.h
The file was modified/clang-tools-extra/trunk/clangd/IncludeFixer.cpp (diff)clang-tools-extra.src/clangd/IncludeFixer.cpp
The file was modified/clang-tools-extra/trunk/clangd/unittests/CodeCompleteTests.cpp (diff)clang-tools-extra.src/clangd/unittests/CodeCompleteTests.cpp
The file was modified/clang-tools-extra/trunk/clangd/unittests/HeadersTests.cpp (diff)clang-tools-extra.src/clangd/unittests/HeadersTests.cpp
Revision 365004 by ruiu:
Avoid identifiers that are different only in case. NFC.
Change TypePath in RepositoryPath in Workspace
The file was modified/lld/trunk/ELF/Thunks.cpp (diff)lld.src/ELF/Thunks.cpp
Revision 365003 by ruiu:
Avoid identifiers that are different only in case. NFC.

Some variables in lld have the same name as functions ignoring case.
This patch gives them different names, so that my next patch is easier
to read.
Change TypePath in RepositoryPath in Workspace
The file was modified/lld/trunk/ELF/DWARF.cpp (diff)lld.src/ELF/DWARF.cpp
The file was modified/lld/trunk/ELF/InputFiles.cpp (diff)lld.src/ELF/InputFiles.cpp
The file was modified/lld/trunk/ELF/Relocations.cpp (diff)lld.src/ELF/Relocations.cpp
The file was modified/lld/trunk/ELF/ScriptParser.cpp (diff)lld.src/ELF/ScriptParser.cpp
The file was modified/lld/trunk/ELF/Symbols.cpp (diff)lld.src/ELF/Symbols.cpp
Revision 365002 by skatkov:
[LoopPeel] Re-factor llvm::peelLoop method. NFC.

Extract code dealing with branch weights in separate functions.

Reviewers: reames, mkuper, iajbar, fhahn
Reviewed By: reames, fhahn
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D63917
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Utils/LoopUnrollPeel.cpp (diff)llvm.src/lib/Transforms/Utils/LoopUnrollPeel.cpp
Revision 365001 by ruiu:
Revert r364999: [lld] Use -o /dev/null in test when output is not needed.

This reverts commit r364999 as it broke a build. Looks like `%t.archive.o`
is used two lines below where it was created.
Change TypePath in RepositoryPath in Workspace
The file was modified/lld/trunk/test/ELF/archive-no-index.s (diff)lld.src/test/ELF/archive-no-index.s