aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/array-default-argument.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-05-12[Hexagon] Make sure to pass empty struct arguments with nontrivial ctorsKrzysztof Parzyszek1-4/+0
Thanks to Richard Smith for the suggested fix. This fixes llvm.org/PR33009 llvm-svn: 302895
2017-05-11XFAIL this test for Hexagon.Richard Smith1-0/+4
It's failing due to Hexagon calling convention lowering being broken (empty structs are not passed even if they have nontrivial destructors / copy ctors). llvm-svn: 302825
2017-05-11Work around different -std= default for PS4 target.Richard Smith1-1/+1
llvm-svn: 302818
2017-05-11PR22877: When constructing an array via a constructor with a default argumentRichard Smith1-0/+36
in list-initialization, run cleanups for the default argument after each iteration of the initialization loop. We previously only ran the destructor for any temporary once, at the end of the complete loop, rather than once per iteration! Re-commit of r302750, reverted in r302776. llvm-svn: 302817
2017-05-11Revert "PR22877: When constructing an array via a constructor with a default ↵Diana Picus1-36/+0
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() ^ -- llvm-svn: 302776
2017-05-11clang/test/CodeGenCXX/array-default-argument.cpp: Satisfy targets that have ↵NAKAMURA Takumi1-4/+4
x86_thiscallcc. llvm-svn: 302757
2017-05-11PR22877: When constructing an array via a constructor with a default argumentRichard Smith1-0/+36
in list-initialization, run cleanups for the default argument after each iteration of the initialization loop. We previously only ran the destructor for any temporary once, at the end of the complete loop, rather than once per iteration! llvm-svn: 302750