File remove-x86-specific-code.patch of Package include-what-you-use

diff --git a/iwyu.cc b/iwyu.cc
index 9d0294a..4aa7ce4 100644
--- a/iwyu.cc
+++ b/iwyu.cc
@@ -3953,13 +3953,6 @@ using include_what_you_use::IwyuAction;
 using include_what_you_use::CreateCompilerInstance;
 
 int main(int argc, char **argv) {
-  // Must initialize X86 target to be able to parse Microsoft inline
-  // assembly. We do this unconditionally, because it allows an IWYU
-  // built for non-X86 targets to parse MS inline asm without choking.
-  LLVMInitializeX86TargetInfo();
-  LLVMInitializeX86TargetMC();
-  LLVMInitializeX86AsmParser();
-
   // The command line should look like
   //   path/to/iwyu -Xiwyu --verbose=4 [-Xiwyu --other_iwyu_flag]... CLANG_FLAGS... foo.cc
   OptionsParser options_parser(argc, argv);
openSUSE Build Service is sponsored by