]> granicus.if.org Git - llvm/commit
[LangRef] Clarify undefined behavior for function attributes.
authorEli Friedman <efriedma@codeaurora.org>
Wed, 25 Jul 2018 18:26:38 +0000 (18:26 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Wed, 25 Jul 2018 18:26:38 +0000 (18:26 +0000)
commit25eb40c01411fcd33ad94dfc20294e76fb009d08
tree058d4f3017121c3d084922e6547ceec90de61369
parent999d896788686b8733ee6c976b8996f8d48623a6
[LangRef] Clarify undefined behavior for function attributes.

Violating the invariants specified by attributes is undefined behavior.
Maybe we could use poison instead for some of the parameter attributes,
but I don't think it's worthwhile.

Differential Revision: https://reviews.llvm.org/D49041

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337947 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.rst