FailedChanges

Summary

  1. Prune Pass.h include from DataLayout.h. NFCI (details)
  2. Prune include of DataLayout.h from include/clang/Basic/TargetInfo.h. NFC (details)
  3. [test] Merge Driver/as-w-warnings.c into as-no-warnings.c (details)
Commit 1f43ea41c330d1b0580b601e55f641f03ddced04 by bjorn.a.pettersson
Prune Pass.h include from DataLayout.h. NFCI
Summary: Reduce include dependencies by no longer including Pass.h from
DataLayout.h. That include seemed irrelevant to DataLayout, as well as
being irrelevant to several users of DataLayout.
Reviewers: rnk
Reviewed By: rnk
Subscribers: mehdi_amini, hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D69261
llvm-svn: 375436
The file was modifiedclang/lib/Tooling/AllTUsExecution.cpp
The file was modifiedllvm/include/llvm/IR/PassManager.h
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
The file was modifiedllvm/lib/Transforms/Utils/CanonicalizeAliases.cpp
The file was modifiedllvm/unittests/IR/ModuleTest.cpp
The file was modifiedllvm/include/llvm/IR/DataLayout.h
The file was modifiedllvm/include/llvm/IR/Module.h
Commit 78424e5f8417f5014006e951dbe813d092cb567f by bjorn.a.pettersson
Prune include of DataLayout.h from include/clang/Basic/TargetInfo.h. NFC
Summary: Use a forward declaration of DataLayout instead of including
DataLayout.h in clangs TargetInfo.h. This reduces include dependencies
toward DataLayout.h (and other headers such as DerivedTypes.h, Type.h
that is included by DataLayout.h).
Needed to move implemantation of TargetInfo::resetDataLayout from
TargetInfo.h to TargetInfo.cpp.
Reviewers: rnk
Reviewed By: rnk
Subscribers: jvesely, nhaehnle, cfe-commits, llvm-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69262
llvm-svn: 375438
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/unittests/AST/DeclTest.cpp
Commit 0cfd9e5b580f06d63be7054ba4efa0524011f096 by maskray
[test] Merge Driver/as-w-warnings.c into as-no-warnings.c
For -integrated-as RUN lines we can remove -target.
llvm-svn: 375439
The file was modifiedclang/test/Driver/as-no-warnings.c
The file was removedclang/test/Driver/as-w-option.c