Skip to content
Commit 49252eb3 authored by Chris Lattner's avatar Chris Lattner
Browse files

Implement a FIXME: when a typedef is seen at statement scope, make sure to

actually add it into the declspec for the type being parsed.  This allows us
to do correct semantic analysis on:

typedef int bar;
int foo() {
  bar a;
  return a;
}

This reduces # errors parsing carbon.h from 731 to 654.

llvm-svn: 39321
parent 47955dee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment