commit | 2111c855343a0530e236bf0862358ec8d67b28f3 | [log] [tgz] |
---|---|---|
author | Sebastian Redl <sebastian.redl@getdesigned.at> | Mon Jun 28 15:09:07 2010 +0000 |
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | Mon Jun 28 15:09:07 2010 +0000 |
tree | 5a14f7e42a9f36f389fec6b8da2aca1fab5c9d5a | |
parent | de4bd18bb45a1db68996cfb949db3015fc25d10d [diff] |
Introduce Expr::Classify and Expr::ClassifyModifiable, which determine the classification of an expression under the C++0x taxology (value category). Reimplement isLvalue and isModifiableLvalue using these functions. No regressions in the test suite from this, and my rough performance check doesn't show any regressions either. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107007 91177308-0d34-0410-b5e6-96231b3b80d8