]> granicus.if.org Git - clang/commitdiff
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)
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

index fed13d2c2e36153ae34586c4718ab5ca29eba9f3..006fdc029ef8b0ed26d908cd99c9665aaa60a71a 100644 (file)
@@ -10,7 +10,6 @@
 #include "Ananas.h"
 #include "InputInfo.h"
 #include "CommonArgs.h"
-#include "clang/Config/config.h"
 #include "clang/Driver/Compilation.h"
 #include "clang/Driver/Driver.h"
 #include "clang/Driver/Options.h"
index a0a5a5cc71555ac0f27e46318c84c6213be9b7da..77bbc606588752da7e00ec9787f8e8c636bce77e 100644 (file)
@@ -25,7 +25,6 @@
 #include "clang/Basic/LangOptions.h"
 #include "clang/Basic/ObjCRuntime.h"
 #include "clang/Basic/Version.h"
-#include "clang/Config/config.h"
 #include "clang/Driver/DriverDiagnostic.h"
 #include "clang/Driver/Options.h"
 #include "clang/Driver/SanitizerArgs.h"
index 31b75a16aedfb9b8abde12cc6b213b205b7892a9..80f9fc493fd858bb68681fd739b34025b5c41e4d 100644 (file)
@@ -10,7 +10,6 @@
 #include "CloudABI.h"
 #include "InputInfo.h"
 #include "CommonArgs.h"
-#include "clang/Config/config.h"
 #include "clang/Driver/Compilation.h"
 #include "clang/Driver/Driver.h"
 #include "clang/Driver/Options.h"
index 04b09d948326329e39249aab93ba7bd51966ed29..c2b27b6d9ac663349193ad2065324243b86d5978 100644 (file)
@@ -11,7 +11,6 @@
 #include "InputInfo.h"
 #include "CommonArgs.h"
 #include "clang/Basic/VirtualFileSystem.h"
-#include "clang/Config/config.h"
 #include "clang/Driver/Compilation.h"
 #include "clang/Driver/Driver.h"
 #include "clang/Driver/DriverDiagnostic.h"
index 2f1c8b2f0c7073ffcfead99982ab9c7fafa79f3a..9f23996b764a9e7ad93a5dc16528d19d6bc05466 100644 (file)
@@ -10,7 +10,6 @@
 #include "MipsLinux.h"
 #include "Arch/Mips.h"
 #include "CommonArgs.h"
-#include "clang/Config/config.h"
 #include "clang/Driver/Driver.h"
 #include "clang/Driver/DriverDiagnostic.h"
 #include "clang/Driver/Options.h"