]> granicus.if.org Git - clang/commit
clang-format: Fix overloaded operator edge case.
authorDaniel Jasper <djasper@google.com>
Mon, 20 Oct 2014 13:56:30 +0000 (13:56 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 20 Oct 2014 13:56:30 +0000 (13:56 +0000)
commit7664f3ab9ad5b25e4bdcbbee083aa999a353670a
tree20c998234cc797c297512de79a0da2587012f755
parent813a1b70a2fce14f09418292cdb53a490505eedf
clang-format: Fix overloaded operator edge case.

Before:
  template <class F>
  void Call(F f) {
    f.template operator() <int>();
  }

After:
  template <class F>
  void Call(F f) {
    f.template operator()<int>();
  }

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