]> granicus.if.org Git - clang/commit
clang-format: Don't insert space in __has_include
authorDaniel Jasper <djasper@google.com>
Wed, 28 Aug 2013 08:24:04 +0000 (08:24 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 28 Aug 2013 08:24:04 +0000 (08:24 +0000)
commita4dd982805e89a37a080350bf8de9069135c5a60
treeba797bd30ef7e2aa744fb643fa51252e7c73288d
parent7186ccc86ee5802c33886d6dd4c5386c7e9fd1aa
clang-format: Don't insert space in __has_include

Before:
  #if __has_include( <strstream>)
  #include <strstream>
  #endif

After:
  #if __has_include(<strstream>)
  #include <strstream>
  #endif

This fixes llvm.org/PR16516.

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