diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-01-27 19:04:39 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-01-27 19:04:39 +0000 |
| commit | 49252eb303598fba33ec9b5b664fd563e158bfa8 (patch) | |
| tree | 7a8ef95bef07bae667e54e6ad583e1934b1ac36e /clang/Basic/FileManager.cpp | |
| parent | 47955dee041247ed4e14a0572758a9a112bd6dc4 (diff) | |
| download | bcm5719-llvm-49252eb303598fba33ec9b5b664fd563e158bfa8.tar.gz bcm5719-llvm-49252eb303598fba33ec9b5b664fd563e158bfa8.zip | |
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
Diffstat (limited to 'clang/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions

