commit | bfdcdc8e26097c9dbb4c40d78296f6ccc3e6684c | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Wed Dec 15 04:00:32 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Wed Dec 15 04:00:32 2010 +0000 |
tree | 80b57258c03700b50172959830acf7fc36398940 | |
parent | bebbe0d9b7568ce43a464286bee49429489ef483 [diff] |
Set the "implicitly inline" bit on a method as soon as we see a definition within the class. Teach IR gen to look for function definitions in record lexical contexts when deciding whether to emit a function whose address was taken. Fixes PR8789. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121833 91177308-0d34-0410-b5e6-96231b3b80d8