commit | 4d92394981de3ea0512930afc0f1e02396973184 | [log] [tgz] |
---|---|---|
author | Argiris Kirtzidis <akyrtzi@gmail.com> | Sat Aug 16 10:21:33 2008 +0000 |
committer | Argiris Kirtzidis <akyrtzi@gmail.com> | Sat Aug 16 10:21:33 2008 +0000 |
tree | a3608eb9b1932680295c194cf57efe176917df51 | |
parent | 93755040e307b573a7c803c6989e46f4132556be [diff] [blame] |
Set the SourceRange ending of DeclSpec, when Parser::ParseTypeofSpecifier finishes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54840 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index e5c8fe7..def039b 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp
@@ -1594,6 +1594,7 @@ Result.Val)) Diag(StartLoc, diag::err_invalid_decl_spec_combination, PrevSpec); } + DS.SetRangeEnd(RParenLoc); }