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 D18778
[LLVM] Fix Clang-tidy modernize-deprecated-headers warnings in remaining files; other minor fixes ClosedPublic Authored by Eugene.Zelenko on Apr 4 2016, 5:36 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 remaining files; other minor fixes. Eugene.Zelenko updated this object. aaron.ballman edited edge metadata. Comment ActionsLGTM (with minor nit about header ordering).
This revision is now accepted and ready to land.Apr 5 2016, 12:08 PM Closed by commit rL265454: Fix Clang-tidy modernize-deprecated-headers warnings in remaining files… (authored by eugenezelenko). · Explain WhyApr 5 2016, 1:25 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 52643 lib/Support/APFloat.cpp
lib/Support/CrashRecoveryContext.cpp
lib/Support/Errno.cpp
lib/Support/Host.cpp
lib/Support/MathExtras.cpp
lib/Support/Mutex.cpp
lib/Support/RWMutex.cpp
lib/Support/SHA1.cpp
lib/Support/SearchForAddressOfSpecialSymbol.cpp
lib/Support/Unix/Path.inc
lib/Support/Unix/Process.inc
lib/Support/Unix/Program.inc
lib/Support/Unix/Signals.inc
lib/Support/Unix/ThreadLocal.inc
lib/Support/Unix/Unix.h
lib/Target/X86/X86ISelDAGToDAG.cpp
tools/llvm-c-test/echo.cpp
tools/llvm-c-test/llvm-c-test.h
tools/llvm-readobj/COFFDumper.cpp
tools/sancov/sancov.cc
tools/sanstats/sanstats.cpp
unittests/ADT/SCCIteratorTest.cpp
unittests/ADT/SmallStringTest.cpp
unittests/ADT/SmallVectorTest.cpp
unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
unittests/Support/CommandLineTest.cpp
unittests/Support/ProgramTest.cpp
unittests/Support/StreamingMemoryObjectTest.cpp
unittests/Support/TimeValueTest.cpp
unittests/Support/TimerTest.cpp
|
Can you sort these includes, or was this the ordering generated?