[PATCH] D68695: [clang-format] Update noexcept reference qualifiers detection

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 05:22:22 PDT 2019


krasimir marked an inline comment as done.
krasimir added inline comments.


================
Comment at: unittests/Format/FormatTest.cpp:7093
                "  template <class T>\n"
-               "  int& foo(const std::string& str) const & noexcept {}\n"
+               "  int& foo(const std::string& str) const&& noexcept {}\n"
                "};",
----------------
note: the old test case was identical to the one above, I think the original intent was to check both `&` and `&&` cases, so modified accordingly.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68695/new/

https://reviews.llvm.org/D68695





More information about the cfe-commits mailing list