llvm-project/llvm/include
Rafael Espindola 802912743e Remove bogus std::error_code returns form SectionRef.
There are two methods in SectionRef that can fail:

* getName: The index into the string table can be invalid.
* getContents: The section might point to invalid contents.

Every other method will always succeed and returning and std::error_code just
complicates the code. For example, a section can have an invalid alignment,
but if we are able to get to the section structure at all and create a
SectionRef, we will always be able to read that invalid alignment.

llvm-svn: 219314
2014-10-08 15:28:58 +00:00
..
llvm Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
llvm-c C API: Add LLVMCloneModule() 2014-10-01 17:14:57 +00:00