]> granicus.if.org Git - clang/commit
clang-format: Support function annotations in macros.
authorDaniel Jasper <djasper@google.com>
Mon, 18 May 2015 09:47:22 +0000 (09:47 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 18 May 2015 09:47:22 +0000 (09:47 +0000)
commitd1ceccab96915c2d8bd7d1a6343e71858b8dc97b
tree2dae6a15200cfb487d99e642b127c354e8aeefab
parente235fc457f0c437ff9f4fb36cd0463f8bac15380
clang-format: Support function annotations in macros.

Before:
  DEPRECATED("Use NewClass::NewFunction instead.") string
      OldFunction(const string &parameter) {}

After:
  DEPRECATED("Use NewClass::NewFunction instead.")
  string OldFunction(const string &parameter) {}

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