commit | 1bf9a9e6a5bdc0de7939908855dcddf46b661800 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Sat Nov 12 22:28:03 2011 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Sat Nov 12 22:28:03 2011 +0000 |
tree | 81774dcc4e8eec6cbd2a95cf48e9236a1771bd30 | |
parent | 8213ecaa7ce2048f1e10b02f730aefb7fdda57fe [diff] |
Represent an APValue based on a Decl as that Decl, rather than a DeclRefExpr or MemberExpr which refers to it. As a side-effect, MemberExprs which refer to static member functions and static data members are now emitted as constant expressions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144468 91177308-0d34-0410-b5e6-96231b3b80d8