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 | e3a60a9bc0e0851a71a4db63385d9a5208358b35 (patch) | |
| tree | 7eaf2f45679cb1e24f06825c12f9ef3d56d5c827 /lldb/source/Commands/CommandObjectPlatform.cpp | |
| parent | d29ea044460367b85b57ce6fe63add75da1fba2d (diff) | |
| download | llvm-e3a60a9bc0e0851a71a4db63385d9a5208358b35.zip llvm-e3a60a9bc0e0851a71a4db63385d9a5208358b35.tar.gz llvm-e3a60a9bc0e0851a71a4db63385d9a5208358b35.tar.bz2 | |
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!
llvm-svn: 179790
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
0 files changed, 0 insertions, 0 deletions
