]> granicus.if.org Git - clang/commit
Delay checking for mutable const fields until we're checking the field.
authorJohn McCall <rjmccall@apple.com>
Fri, 4 Jun 2010 08:34:12 +0000 (08:34 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 4 Jun 2010 08:34:12 +0000 (08:34 +0000)
commit4bde1e13d39e43581f7da872e4d7676ebf4a3ee7
treeaf78dbe1daf3ec5254aac58d741be898103cf347
parent7b6d25b04cb86bbe6940d87dc73da8fbbebda5bd
Delay checking for mutable const fields until we're checking the field.
Allows this check to work properly for instantiated fields and removes
an unnecessary GetTypeForDeclarator call.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105463 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp