]> granicus.if.org Git - clang/commit
AST: Remove overzealous assertion from IsModifiable
authorDavid Majnemer <david.majnemer@gmail.com>
Sun, 4 Jan 2015 00:44:32 +0000 (00:44 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sun, 4 Jan 2015 00:44:32 +0000 (00:44 +0000)
commit1bb85b211dd0946393663c7d6a1d4ddecf739aa2
tree09544d03ba82a212c64f2b2823bc12d73353fb22
parent2e4bd4b5972c1a4b557b552592ff314c6b13c994
AST: Remove overzealous assertion from IsModifiable

It's reasonable to ask if an l-value with class type is modifiable.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@225121 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprClassification.cpp
test/SemaCXX/statements.cpp