Fixed warnings are: modernize-use-override, modernize-use-nullptr and modernize-redundant-void-arg.
I checked this patch on my own build on RHEL 6. Regressions were OK.
Paths
| Differential D14312
[LLVM] Fix some Clang-tidy modernize warnings, other minor fixes ClosedPublic Authored by Eugene.Zelenko on Nov 3 2015, 5:07 PM.
Details Summary Fixed warnings are: modernize-use-override, modernize-use-nullptr and modernize-redundant-void-arg. 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 some Clang-tidy modernize warnings, other minor fixes. Eugene.Zelenko updated this object. This revision is now accepted and ready to land.Nov 4 2015, 1:28 PM Closed by commit rL252087: Fix some Clang-tidy modernize warnings, other minor fixes. (authored by eugenezelenko). · Explain WhyNov 4 2015, 2:35 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 39137 include/llvm-c/Core.hinclude/llvm/ProfileData/SampleProf.h
lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp
lib/MC/MCAsmStreamer.cpp
lib/Support/TimeValue.cpp
lib/Transforms/InstCombine/InstCombineAddSub.cpp
lib/Transforms/Instrumentation/SafeStack.cpp
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
tools/lli/RemoteTarget.cpp
tools/llvm-mc/llvm-mc.cpp
tools/llvm-size/llvm-size.cpp
unittests/ExecutionEngine/MCJIT/MCJITMultipleModuleTest.cpp
unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
unittests/ExecutionEngine/MCJIT/MCJITTest.cpp
unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
unittests/ProfileData/InstrProfTest.cpp
utils/TableGen/OptParserEmitter.cpp
|
This is exposing new functionality in the C API, but I suppose it's OK.