diff options
| author | Steve Naroff <snaroff@apple.com> | 2008-02-12 04:08:59 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2008-02-12 04:08:59 +0000 |
| commit | ab468cb14be20d6c308bd9e06e51b6772625ac4b (patch) | |
| tree | 12ab3ac40ab137a7cfe1c10cd174991be0dc9215 /llvm/docs | |
| parent | 779593cd9db4054c7f1cfd3305ac6a8e22014b85 (diff) | |
| download | bcm5719-llvm-ab468cb14be20d6c308bd9e06e51b6772625ac4b.tar.gz bcm5719-llvm-ab468cb14be20d6c308bd9e06e51b6772625ac4b.zip | |
Allow the parser to detect invalid DeclSpec's. This fixes http://llvm.org/bugs/show_bug.cgi?id=1987.
This commit only "guards" the call to ParseDeclarationSpecifiers() in ParseDeclarationOrFunctionDefinition().
We could consider guarding all calls, however this is a bit radical (since it effectively stops parsing the declaration once we have a bad declspec). Will discuss with Chris tomorrow.
llvm-svn: 46984
Diffstat (limited to 'llvm/docs')
0 files changed, 0 insertions, 0 deletions

