This is an archive of the discontinued LLVM Phabricator instance.

Unbreak gcc.
ClosedPublic

Authored by davide on May 28 2016, 4:20 PM.

Details

Summary
../tools/lld/ELF/InputSection.h: In constructor ‘lld::elf::SectionPiece::SectionPiece(size_t, llvm::ArrayRef<unsigned char>)’:
../tools/lld/ELF/InputSection.h:90:50: warning: cast from type ‘const unsigned char*’ to type ‘uint8_t* {aka unsigned char*}’ casts away qualifiers [-Wcast-qual]
       : InputOff(Off), Data((uint8_t *)Data.data()), Size(Data.size()),
                                                  ^

Diff Detail

Repository
rL LLVM

Event Timeline

davide updated this revision to Diff 58907.May 28 2016, 4:20 PM
davide retitled this revision from to Unbreak gcc..
davide updated this object.
davide added a reviewer: ruiu.
davide added a subscriber: llvm-commits.
ruiu accepted this revision.May 28 2016, 4:30 PM
ruiu edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 28 2016, 4:30 PM
This revision was automatically updated to reflect the committed changes.