]> granicus.if.org Git - clang/commit
clang-format: Fix bug in function reference qualifier detection.
authorDaniel Jasper <djasper@google.com>
Tue, 1 Nov 2016 06:23:19 +0000 (06:23 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 1 Nov 2016 06:23:19 +0000 (06:23 +0000)
commite54c81e47a71edfea335aaed26d52fed2c957c50
treef449678b60b40fdbcca2444ab83d86a20c7ada68
parent6598a29b37df5123c0c5a6ad96657053247dfa7c
clang-format: Fix bug in function reference qualifier detection.

Before:
  template <typename T>
      void F(T) &&
      = delete;

After:
  template <typename T>
  void F(T) && = delete;

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285674 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTest.cpp