diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-10-25 14:32:25 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-10-25 14:32:25 +0000 |
| commit | 9a8f13961cc6fc9471ff9c916c7576c0bc13de39 (patch) | |
| tree | 05e45eb81660bf306a4b068e96d69c5dff21de5c /clang/lib/Sema/SemaStmt.cpp | |
| parent | 6ca458e49a3addfa7436a0c02e2a84c4a174f13a (diff) | |
| download | bcm5719-llvm-9a8f13961cc6fc9471ff9c916c7576c0bc13de39.tar.gz bcm5719-llvm-9a8f13961cc6fc9471ff9c916c7576c0bc13de39.zip | |
Revert r142914 and r142915, due to possibly missing file.
r142914: "Introduce a placeholder type for "pseudo object""
r142915: "Pull the pseudo-object stuff into its own file."
llvm-svn: 142921
Diffstat (limited to 'clang/lib/Sema/SemaStmt.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaStmt.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaStmt.cpp b/clang/lib/Sema/SemaStmt.cpp index 887dd398940..3297c0641fe 100644 --- a/clang/lib/Sema/SemaStmt.cpp +++ b/clang/lib/Sema/SemaStmt.cpp @@ -492,10 +492,6 @@ Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, Expr *Cond, if (!Cond) return StmtError(); - CondResult = CheckPlaceholderExpr(Cond); - if (CondResult.isInvalid()) - return StmtError(); - CondResult = ConvertToIntegralOrEnumerationType(SwitchLoc, Cond, PDiag(diag::err_typecheck_statement_requires_integer), |

