]> granicus.if.org Git - clang/commit
Revert "PR22877: When constructing an array via a constructor with a default argument...
authorDiana Picus <diana.picus@linaro.org>
Thu, 11 May 2017 08:10:41 +0000 (08:10 +0000)
committerDiana Picus <diana.picus@linaro.org>
Thu, 11 May 2017 08:10:41 +0000 (08:10 +0000)
commit389e123d9f2ffdd30fe124270b7f4214bdcd0e5f
tree703110ba7f868b63343c5d0b724a70be683b0643
parent2ea821f2612cddaa76449bc2888462065f9bb024
Revert "PR22877: When constructing an array via a constructor with a default argument in list-initialization, run cleanups for the default argument after each iteration of the initialization loop."

Revert "clang/test/CodeGenCXX/array-default-argument.cpp: Satisfy targets that have x86_thiscallcc."

This reverts commit r302750 and its fixup r302757 because the test is
still breaking on some of the ARM bots.

array-default-argument.cpp:20:12: error: expected string not found in input
 // CHECK: {{call|invoke}}[[THISCALL:( x86_thiscallcc)?]] void @_ZN1AC1Ev([[TEMPORARY:.*]])
           ^
<stdin>:18:1: note: scanning from here
arrayctor.loop: ; preds = %arrayctor.loop, %entry
^
<stdin>:28:2: note: possible intended match here
 call void @_Z1fv()
 ^

--

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302776 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprAgg.cpp
test/CodeGenCXX/array-default-argument.cpp [deleted file]