<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/55870>55870</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            `modernize-use-emplace` not reported when braced initializer is being used
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          firewave
      </td>
    </tr>
</table>

<pre>
    ```cpp
#include <string>
#include <vector>

struct A {
    std::string s;
};

void f1() {
    std::vector<A> v;
    v.push_back(A()); // warning
}

void f2() {
    std::vector<A> v;
    v.push_back(A{}); // no warning
}

void f3() {
    std::vector<A> v;
    v.push_back(A{""}); // no warning
}
}}}

https://godbolt.org/z/PdKWqa1dr
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytUk1zmzAQ_TXiojGjD2PsAwcnTi699NZjR0ILqJURkQSe5td3hZu4bdqZHMIsYldP-95jR9qbHw3ZsWu000TYibAjEdKOrZsNUCLvYwp27Il8-Be4QJt8uIHrih1zm-iRkvruukPxickQecS4EtJI5C-U1Kdbvq6Lt4Z2nIg9EYf_0LxI32PxQJdXhnxoKac5Dl-1ar8jx_HKk0PeUSIeMehFhTH_16uDN_Liw-SRAAX-kB_9OxzIj3QgRI73-8DkGr_ZGlKaYlZfm3tvtHep9KHH6hnfz-bTlyfFTShMI81BHlSRbHKQL9nZG0ChZ9jMETZwnpxqAffRQqIBJh8SGHoZYKQ6IGSoHW2yymFLoDZSDfnaYLMp5uCav7zYNMy6bP0ZC-eWl89mCv4bDgpLG-MMEZOq2tesGBpVi06D3moOiu8049xovpNbqbtaVR0rnNLgYkOqPL0RLnSlyGOsToVtBBOC7diWVZWUh7KuWyP2e87bVnBec7JlcFbWldlHHlIRmtWSnvuIoLMxxRuoYrT9CLDKIb-a0-BD09kAF7VAsWo3q_efHfMOjg">