diff options
| author | Bruno Ricci <riccibrun@gmail.com> | 2018-10-30 13:42:41 +0000 |
|---|---|---|
| committer | Bruno Ricci <riccibrun@gmail.com> | 2018-10-30 13:42:41 +0000 |
| commit | bacf751add8304789a452fc01c78e73771c8d72e (patch) | |
| tree | e1dbb3b2aa4b5416a45a267bae996e753202ac5b /clang/test/Import | |
| parent | af8e036c29ee7ef7cffb55be0d42e578d9d0aa79 (diff) | |
| download | bcm5719-llvm-bacf751add8304789a452fc01c78e73771c8d72e.tar.gz bcm5719-llvm-bacf751add8304789a452fc01c78e73771c8d72e.zip | |
[AST] Only store the needed data in WhileStmt
Don't store the data for the condition variable if not needed.
This cuts the size of WhileStmt by up to a pointer.
The order of the children is kept the same.
Differential Revision: https://reviews.llvm.org/D53715
Reviewed By: rjmccall
llvm-svn: 345597
Diffstat (limited to 'clang/test/Import')
| -rw-r--r-- | clang/test/Import/while-stmt/test.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/test/Import/while-stmt/test.cpp b/clang/test/Import/while-stmt/test.cpp index f2d0d39e2da..a0309d43124 100644 --- a/clang/test/Import/while-stmt/test.cpp +++ b/clang/test/Import/while-stmt/test.cpp @@ -1,12 +1,10 @@ // RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s // CHECK: WhileStmt -// CHECK-NEXT: <<NULL>> // CHECK-NEXT: CXXBoolLiteralExpr // CHECK-NEXT: NullStmt // CHECK: WhileStmt -// CHECK-NEXT: <<NULL>> // CHECK-NEXT: CXXBoolLiteralExpr // CHECK-NEXT: CompoundStmt |

