Skip to content
Snippets Groups Projects
  • Diana Picus's avatar
    389e123d
    Revert "PR22877: When constructing an array via a constructor with a default... · 389e123d
    Diana Picus authored
    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
    389e123d
    History
    Revert "PR22877: When constructing an array via a constructor with a default...
    Diana Picus authored
    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
Code owners
Assign users and groups as approvers for specific file changes. Learn more.