diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-08-16 10:21:33 +0000 | 
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-08-16 10:21:33 +0000 | 
| commit | e97dcc12480a74013fe42f7d9f32b146153ef0c7 (patch) | |
| tree | a135cc47fea0e2b03b7b5a86a26a9456c9a32eb2 /clang/lib/Parse/ParseDecl.cpp | |
| parent | 186a18a4e8471848519680a0c078873909fca4a1 (diff) | |
| download | bcm5719-llvm-e97dcc12480a74013fe42f7d9f32b146153ef0c7.tar.gz bcm5719-llvm-e97dcc12480a74013fe42f7d9f32b146153ef0c7.zip | |
Set the SourceRange ending of DeclSpec, when Parser::ParseTypeofSpecifier finishes.
llvm-svn: 54840
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
| -rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index e5c8fe76272..def039b98d6 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -1594,6 +1594,7 @@ void Parser::ParseTypeofSpecifier(DeclSpec &DS) {                             Result.Val))        Diag(StartLoc, diag::err_invalid_decl_spec_combination, PrevSpec);    } +  DS.SetRangeEnd(RParenLoc);  } | 

