[cfe-commits] r54840 - /cfe/trunk/lib/Parse/ParseDecl.cpp
Argiris Kirtzidis
akyrtzi at gmail.com
Sat Aug 16 03:21:41 PDT 2008
Author: akirtzidis
Date: Sat Aug 16 05:21:33 2008
New Revision: 54840
URL: http://llvm.org/viewvc/llvm-project?rev=54840&view=rev
Log:
Set the SourceRange ending of DeclSpec, when Parser::ParseTypeofSpecifier finishes.
Modified:
cfe/trunk/lib/Parse/ParseDecl.cpp
Modified: cfe/trunk/lib/Parse/ParseDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDecl.cpp?rev=54840&r1=54839&r2=54840&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDecl.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDecl.cpp Sat Aug 16 05:21:33 2008
@@ -1594,6 +1594,7 @@
Result.Val))
Diag(StartLoc, diag::err_invalid_decl_spec_combination, PrevSpec);
}
+ DS.SetRangeEnd(RParenLoc);
}
More information about the cfe-commits
mailing list