| commit | f3814ad4268d6b4c206fb6f7d4b3460de485add2 | [log] [tgz] |
|---|---|---|
| author | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Jan 25 00:08:28 2013 +0000 |
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Jan 25 00:08:28 2013 +0000 |
| tree | 6ba6838a660432d097c50659c0482e34cb55452d | |
| parent | e29dadb6403c8b0d3658f9bbbe2f5fbde5431fdb [diff] |
Clean up: since we have FunctionDecl::IsInline, make it store the right value for template instantiations, and use it to simplify the implementation of FunctionDecl::isInlined(). This incidentally changes the result of isInlined on a declared-but-not-defined non-inline member function from true to false. This is sort of a bug fix, but currently isInlined is only called on function definitions, so it has no visible effects. llvm-svn: 173397