{"published":"2016-10-28 00:00:00","title":"-Wpessimizing-move\u30aa\u30d7\u30b7\u30e7\u30f3 \u3068 -Wredundant-move\u30aa\u30d7\u30b7\u30e7\u30f3","image_url":null,"blog_url":"https://yohhoy.hatenadiary.jp/","type":"rich","width":"100%","url":"https://yohhoy.hatenadiary.jp/entry/20161028/p1","blog_title":"yohhoy\u306e\u65e5\u8a18","author_name":"yohhoy","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20161028%2Fp1\" title=\"-Wpessimizing-move\u30aa\u30d7\u30b7\u30e7\u30f3 \u3068 -Wredundant-move\u30aa\u30d7\u30b7\u30e7\u30f3 - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":["C++","Clang"],"description":"LLVM/Clang\u3067\u306f\u3001\u623b\u308a\u5024\u6700\u9069\u5316(RVO; return value optimization)\u3092\u963b\u5bb3\u3059\u308b\uff0f\u5358\u306b\u5197\u9577\u306astd::move\u95a2\u6570\u5229\u7528\u3092\u8b66\u544a\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u63d0\u4f9b\u3055\u308c\u308b\u3002Clang 3.7\u3067\u8ffd\u52a0\u3055\u308c\u305f\u8b66\u544a\u30aa\u30d7\u30b7\u30e7\u30f3\u3002\u4e21\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3082 -Wall \u30aa\u30d7\u30b7\u30e7\u30f3\u6307\u5b9a\u306b\u542b\u307e\u308c\u308b\u305f\u3081\u3001\u500b\u5225\u306b\u6307\u5b9a\u3059\u308b\u30b1\u30fc\u30b9\u306f\u5c11\u306a\u3044\u306f\u305a\u3002 Improvements to Clang's diagnostics (snip) -Wredundant-move warns when a parameter variable is moved on return and the return type is the\u2026","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/yohhoy/","height":"190"}