LukasScheucher / include-what-you-use

Automatically exported from code.google.com/p/include-what-you-use
Other
0 stars 0 forks source link

Does not compile with latest LLVM/Clang from trunk #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Compilation of iwyu_driver.cc failed with message:

llvm[4]: Compiling iwyu_include_picker.cc for Release+Asserts build
/home/kostya/src/svn/llvm/tools/clang/tools/include-what-you-use/iwyu_driver.cc:
 In function 'clang::CompilerInstance* CreateCompilerInstance(int, const 
char**)':
/home/kostya/src/svn/llvm/tools/clang/tools/include-what-you-use/iwyu_driver.cc:
161: error: no matching function for call to 
'clang::driver::Driver::BuildCompilation(size_t, const char**)'
/home/kostya/src/svn/llvm/tools/clang/tools/include-what-you-use/../../include/c
lang/Driver/Driver.h:219: note: candidates are: clang::driver::Compilation* 
clang::driver::Driver::BuildCompilation(llvm::ArrayRef<const char*>)

Original issue reported on code.google.com by annu...@gmail.com on 26 Mar 2011 at 3:53

GoogleCodeExporter commented 8 years ago
Ugh, trying to keep iwyu working against ToT is a neverending struggle.  I 
copied this driver code from somewhere else and only kinda understand it; do 
you want to attempt a patch?

Original comment by csilv...@gmail.com on 26 Mar 2011 at 8:04

GoogleCodeExporter commented 8 years ago
I managed to figure out a fix.  Fixed at r95.

Original comment by csilv...@gmail.com on 26 Mar 2011 at 10:26

GoogleCodeExporter commented 8 years ago
Thank you! Actually I just started to learn Clang, so I'm studying your code to 
get  insight :)

Original comment by annu...@gmail.com on 29 Mar 2011 at 7:28