[PATCH] D51115: [ASTImporter] Actually test ArrayInitLoopExpr in the array-init-loop-expr test.

Raphael Isemann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 22 15:51:36 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL340467: [ASTImporter] Actually test ArrayInitLoopExpr in the array-init-loop-expr test. (authored by teemperor, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D51115?vs=162004&id=162086#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D51115

Files:
  cfe/trunk/test/Import/array-init-loop-expr/Inputs/S.cpp
  cfe/trunk/test/Import/array-init-loop-expr/test.cpp


Index: cfe/trunk/test/Import/array-init-loop-expr/test.cpp
===================================================================
--- cfe/trunk/test/Import/array-init-loop-expr/test.cpp
+++ cfe/trunk/test/Import/array-init-loop-expr/test.cpp
@@ -6,6 +6,5 @@
 // CHECK: ArrayInitIndexExpr
 
 void expr() {
-  S s;
-  S copy = s;
+  f();
 }
Index: cfe/trunk/test/Import/array-init-loop-expr/Inputs/S.cpp
===================================================================
--- cfe/trunk/test/Import/array-init-loop-expr/Inputs/S.cpp
+++ cfe/trunk/test/Import/array-init-loop-expr/Inputs/S.cpp
@@ -1,3 +1,8 @@
 class S {
   int a[10];
 };
+
+void f() {
+  S s;
+  S copy = s;
+}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51115.162086.patch
Type: text/x-patch
Size: 672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180822/b8061703/attachment.bin>


More information about the llvm-commits mailing list