summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsSubtarget.cpp
diff options
context:
space:
mode:
authorAmaury Sechet <deadalnix@gmail.com>2016-09-09 04:50:38 +0000
committerAmaury Sechet <deadalnix@gmail.com>2016-09-09 04:50:38 +0000
commit5f04d819a55a6a9f37216cf13bf5b939d5a48086 (patch)
tree8f17bf18bff6b8d4fd7f58cc304c7d7973cd816e /llvm/lib/Target/Mips/MipsSubtarget.cpp
parent21f51b3a32fd47c5d1e4de1fff04367fb28dffee (diff)
downloadbcm5719-llvm-5f04d819a55a6a9f37216cf13bf5b939d5a48086.tar.gz
bcm5719-llvm-5f04d819a55a6a9f37216cf13bf5b939d5a48086.zip
Rationalise the attribute getter/setter methods on Function and CallSite.
Summary: While woring on mapping attributes in the C API, it clearly appeared that the recent changes in the API on the C++ side left Function and Call/Invoke with an attribute API that grew in an ad hoc manner. This makes it difficult to work with it, because one doesn't know which overloads exists and which do not. Make sure that getter/setter function exists for both enum and string version. Remove inconsistent getter/setter, unless they have many callsites. This should make it easier to work with attributes in the future. This doesn't change how attribute works. Reviewers: bkramer, whitequark, mehdi_amini, void Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D21514 llvm-svn: 281019
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSubtarget.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud