]> granicus.if.org Git - clang/commit
Replace r213816's fix with a different one. It's not meaningful to call
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 23 Jul 2014 23:50:25 +0000 (23:50 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 23 Jul 2014 23:50:25 +0000 (23:50 +0000)
commit30c7311ea59c736ed97d809cbd68d43e40e23ee2
treec3171e90acac612e4352d012246306ca1f63c813
parentbc962cf79540dfde1dbe545db180ea7a0862f322
Replace r213816's fix with a different one. It's not meaningful to call
isOnePastTheEnd on an invalid designator, so assert and push the check into the
one caller that wasn't already checking.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213820 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp