]> granicus.if.org Git - clang/commit
QualType::isMoreQualifiedThan and isAtLeastAsQualifiedAs assert that we
authorDouglas Gregor <dgregor@apple.com>
Wed, 22 Oct 2008 15:04:37 +0000 (15:04 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 22 Oct 2008 15:04:37 +0000 (15:04 +0000)
commitba7e210a999275695f58be03ef402758cfec3635
treec7938a2992fc93dac389117cc26402d561988aa4
parentc498848ebcf22a9de23143b342f28b6d4f515436
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57980 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
lib/AST/Expr.cpp
lib/Sema/SemaOverload.cpp