diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-04-18 20:15:25 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-04-18 20:15:25 +0000 |
commit | bb1b63c48397a3bac5d00f2ac9d33cc14efd714c (patch) | |
tree | fd01da2199225cea17f87952fc4a790e8d897f41 /lib/Object/ObjectFile.cpp | |
parent | 4b15d6ae49b407cfcf526a3f7bec7ab15fa803c0 (diff) |
This patch addresses two cleanup issues:
1. Verify::VerifyParameterAttrs in "lib/IR/Verifier.cpp" and
AttrBuilder::removeFunctionOnlyAttrs in "lib/IR/Attributes.cpp" (only called
by Verify::VerifyFunctionAttrs) separately maintained a list of function-only
attribute types. I've consolidated the logic into a new function used for
both cases in "lib/IR/Verifier.cpp", so this logic is in one place (other
than the AsmParser front-end)
2. Various functions in "lib/IR/Verifier.cpp" passed AttributeSet around by
reference needlessly, as it's just a handle to an immutable pimpl body.
Patch by Stephen Lin!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179790 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions