diff options
| author | Steve Naroff <snaroff@apple.com> | 2008-11-03 23:29:32 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2008-11-03 23:29:32 +0000 |
| commit | c989a7b6c097bb06b7662b472528720fd14fde4b (patch) | |
| tree | 0bb08c76c40e8f0880ffeede5ea1d080a18aaf65 /clang/lib/Sema/SemaExpr.cpp | |
| parent | d26344d252dbfc404c7221edbfd11f89640eb690 (diff) | |
| download | bcm5719-llvm-c989a7b6c097bb06b7662b472528720fd14fde4b.tar.gz bcm5719-llvm-c989a7b6c097bb06b7662b472528720fd14fde4b.zip | |
Fix <rdar://problem/6339636> clang ObjC rewriter: Assertion failed: FileID-1 < FileIDs.size() && "Invalid FileID!", file c:\cygwin\home\Administrator\llvm\tools\clang\include\clang/Basic/SourceManager.h, line 513
llvm-svn: 58654
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index b23db487677..f06a04101b8 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -1324,7 +1324,7 @@ ActOnCastExpr(SourceLocation LParenLoc, TypeTy *Ty, if (CheckCastTypes(SourceRange(LParenLoc, RParenLoc), castType, castExpr)) return true; - return new CStyleCastExpr(castType, castExpr, castType, LParenLoc); + return new CStyleCastExpr(castType, castExpr, castType, LParenLoc, RParenLoc); } /// Note that lex is not null here, even if this is the gnu "x ?: y" extension. |

