]> granicus.if.org Git - clang/commit
Remove unused includes of clang/Config/config.h
authorNico Weber <nicolasweber@gmx.de>
Sat, 28 Apr 2018 23:48:36 +0000 (23:48 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 28 Apr 2018 23:48:36 +0000 (23:48 +0000)
commitfc26ba15dd3d6c4e30e868b08110d9d87a21107a
treeb734c09e8048c4840aa27773a512e44dd47d1822
parent81684cc58243b49af786438d33fcbbf12a596c56
Remove unused includes of clang/Config/config.h

Found by opening config.h.cmake in vim, finding all defined macros with

  /define\(01\)\? \zs[A-Za-z0-9_]*<cr>
  :%s//\=setreg('A', submatch(0), 'V')/gn<cr>
  :put A<cr>

and then joining them all with |, and passing that to

  git grep -E that_pattern 'clang/*.h' 'clang/*.cpp' 'clang/*.c'

and diffing that output with the result of

  git grep Config/config.h 'clang/*.h' 'clang/*.cpp' 'clang/*.c'

No intended behavior change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331124 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Ananas.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Driver/ToolChains/CloudABI.cpp
lib/Driver/ToolChains/Hexagon.cpp
lib/Driver/ToolChains/MipsLinux.cpp