r181329 - Prevent crashes from hasCanonicalType matcher

Dmitri Gribenko gribozavr at gmail.com
Tue May 7 08:56:56 PDT 2013


On Tue, May 7, 2013 at 6:53 PM, Edwin Vane <edwin.vane at intel.com> wrote:
> Author: revane
> Date: Tue May  7 10:53:23 2013
> New Revision: 181329
>
> URL: http://llvm.org/viewvc/llvm-project?rev=181329&view=rev
> Log:
> Prevent crashes from hasCanonicalType matcher
>
> Adding an QualType::isNull() check.

Shall we commit this to Clang 3.3 branch, too?

Dmitri

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list