Incrementing typedefed pointer

Hi, I'm new to the list. clang looks like a cool project.

I built llvm and cfe SVN trunk r43993.

Following C program:

#include <stdio.h>
typedef int *pint;
int main() {
    int a[5] = {0};
    pint p = a;
    printf("%d\n", *p);

generates an error, which is incorrect.

test.c:6:6: error: cannot modify value of type 'pint'

I hardly know any C++, but I came up with the following patch anyway.
Please comment.

Index: Sema/SemaExpr.cpp

I just tested/committed your patch.

Great job!