diff options
author | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-02-01 10:44:43 +0000 |
---|---|---|
committer | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-02-01 10:44:43 +0000 |
commit | 07d269d2686e28ea49aaa43338db962b084adce3 (patch) | |
tree | bf403f244706a711a74b8ce7b105b3d0dbd057a1 /.clang-tidy | |
parent | 4cdc67abb319f76cf430e303e58d05a53f5d5eac (diff) | |
download | clang-07d269d2686e28ea49aaa43338db962b084adce3.tar.gz |
Provide reason messages for unviable inlining
InlineCost's isInlineViable() is changed to return InlineResult
instead of bool. This provides messages for failure reasons and
allows to get more specific messages for cases where callsites
are not viable for inlining.
Reviewed By: xbolva00, anemet
Differential Revision: https://reviews.llvm.org/D57089
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352849 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to '.clang-tidy')
0 files changed, 0 insertions, 0 deletions