Some Include What You Use suggestions were used too.
Use anonymous namespaces in source files.
I checked this patch on my own build on RHEL 6. Regressions were OK.
Paths
| Differential D18469
[LLVM] Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes ClosedPublic Authored by Eugene.Zelenko on Mar 24 2016, 5:49 PM.
Details Summary Some Include What You Use suggestions were used too. Use anonymous namespaces in source files. I checked this patch on my own build on RHEL 6. Regressions were OK.
Diff Detail Event TimelineEugene.Zelenko retitled this revision from to [LLVM] Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. Eugene.Zelenko updated this object. Comment Actions Assuming this does not break any build, LGTM.
This revision is now accepted and ready to land.Mar 24 2016, 6:54 PM
Closed by commit rL264598: Fix Clang-tidy modernize-deprecated-headers warnings in some files; other… (authored by eugenezelenko). · Explain WhyMar 28 2016, 10:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 51623 include/llvm-c/Disassembler.h
include/llvm-c/lto.h
include/llvm/ADT/Statistic.h
include/llvm/DebugInfo/PDB/PDBTypes.h
include/llvm/Support/DataTypes.h.cmake
include/llvm/Support/Valgrind.h
include/llvm/Target/TargetCallingConv.h
include/llvm/Transforms/IPO/LowerBitSets.h
include/llvm/Transforms/IPO/WholeProgramDevirt.h
lib/Analysis/ConstantFolding.cpp
lib/DebugInfo/Symbolize/Symbolize.cpp
lib/LineEditor/LineEditor.cpp
|
clang-tidy does that? Sweet