QualType::isMoreQualifiedThan and isAtLeastAsQualifiedAs assert that we
aren't trying to compare with address-space qualifiers (for now).

Clean up handing of DeclRefExprs in Expr::isLvalue and refactor part
of the check into a static DeclCanBeLvalue.

llvm-svn: 57980
3 files changed
tree: ec05faa08b5a0718edb0a3158a439231a9b93ac8
  1. clang/
  2. llvm/