[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)
commit0f522bdbac1f48c575123792f6ec8b93b2c610ac
treefdeb13a6ae3cbe312b11e83ceb794d200e743e86
parentc89c9c7b63734e04d010a37dc4c6aa4d2edd81a6
[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

llvm-svn: 337947
llvm/docs/LangRef.rst