summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-04-14 20:19:02 +0000
committerReid Kleckner <rnk@google.com>2017-04-14 20:19:02 +0000
commitfb502d2f5e20eb7bd6fb95c407ff4078a530c0fe (patch)
treece9278d3d691404cb00cdfa0932ec36c143f6b90 /clang/lib/CodeGen/CodeGenFunction.cpp
parent23f28e6c75f80afe8e9f3c3fe739071757df8e09 (diff)
downloadbcm5719-llvm-fb502d2f5e20eb7bd6fb95c407ff4078a530c0fe.tar.gz
bcm5719-llvm-fb502d2f5e20eb7bd6fb95c407ff4078a530c0fe.zip
[IR] Make paramHasAttr to use arg indices instead of attr indices
This avoids the confusing 'CS.paramHasAttr(ArgNo + 1, Foo)' pattern. Previously we were testing return value attributes with index 0, so I introduced hasReturnAttr() for that use case. llvm-svn: 300367
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud