[Lldb-commits] [lldb] r339826 - Revert "[ASTImporter] Add test for IfStmt"
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 15 15:32:35 PDT 2018
Author: teemperor
Date: Wed Aug 15 15:32:35 2018
New Revision: 339826
URL: http://llvm.org/viewvc/llvm-project?rev=339826&view=rev
Log:
Revert "[ASTImporter] Add test for IfStmt"
That's actually a clang patch, sorry.
Removed:
lldb/trunk/test/Import/if-stmt/Inputs/F.cpp
lldb/trunk/test/Import/if-stmt/test.cpp
Removed: lldb/trunk/test/Import/if-stmt/Inputs/F.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/Import/if-stmt/Inputs/F.cpp?rev=339825&view=auto
==============================================================================
--- lldb/trunk/test/Import/if-stmt/Inputs/F.cpp (original)
+++ lldb/trunk/test/Import/if-stmt/Inputs/F.cpp (removed)
@@ -1,21 +0,0 @@
-void f() {
- if (true)
- return;
-
- if (int j = 3)
- return;
-
- if (int j; true)
- return;
-
- if (true)
- return;
- else
- return;
-
- if (true) {
- return;
- } else {
- return;
- }
-}
Removed: lldb/trunk/test/Import/if-stmt/test.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/Import/if-stmt/test.cpp?rev=339825&view=auto
==============================================================================
--- lldb/trunk/test/Import/if-stmt/test.cpp (original)
+++ lldb/trunk/test/Import/if-stmt/test.cpp (removed)
@@ -1,47 +0,0 @@
-// RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s
-
-// CHECK: IfStmt
-// CHECK-NEXT: <<NULL>>
-// CHECK-NEXT: <<NULL>>
-// CHECK-NEXT: CXXBoolLiteralExpr
-// CHECK-NEXT: ReturnStmt
-// CHECK-NEXT: <<NULL>>
-
-// CHECK: IfStmt
-// CHECK-NEXT: <<NULL>>
-// CHECK-NEXT: DeclStmt
-// CHECK-NEXT: VarDecl
-// CHECK-NEXT: IntegerLiteral
-// CHECK-NEXT: ImplicitCastExpr
-// CHECK-NEXT: ImplicitCastExpr
-// CHECK-NEXT: DeclRefExpr
-// CHECK-NEXT: ReturnStmt
-// CHECK-NEXT: <<NULL>>
-
-// CHECK: IfStmt
-// CHECK-NEXT: DeclStmt
-// CHECK-NEXT: VarDecl
-// CHECK-NEXT: <<NULL>>
-// CHECK-NEXT: CXXBoolLiteralExpr
-// CHECK-NEXT: ReturnStmt
-// CHECK-NEXT: <<NULL>>
-
-// CHECK: IfStmt
-// CHECK-NEXT: <<NULL>>
-// CHECK-NEXT: <<NULL>>
-// CHECK-NEXT: CXXBoolLiteralExpr
-// CHECK-NEXT: ReturnStmt
-// CHECK-NEXT: ReturnStmt
-
-// CHECK: IfStmt
-// CHECK-NEXT: <<NULL>>
-// CHECK-NEXT: <<NULL>>
-// CHECK-NEXT: CXXBoolLiteralExpr
-// CHECK-NEXT: CompoundStmt
-// CHECK-NEXT: ReturnStmt
-// CHECK-NEXT: CompoundStmt
-// CHECK-NEXT: ReturnStmt
-
-void expr() {
- f();
-}
More information about the lldb-commits
mailing list