Skip to content
Commit a1fffcf7 authored by Richard Osborne's avatar Richard Osborne
Browse files

Don't infer whether a value is captured in the current function from the

'nocapture' attribute.

The nocapture attribute only specifies that no copies are made that
outlive the function. This isn't the same as there being no copies at all.
This fixes PR14045.

llvm-svn: 167381
parent 89ad975c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment