Originally reported on Google Code with ID 76
What steps will reproduce the problem? Give the *exact* arguments passed
to include-what-you-use, and attach the input source file that gives the
problem (minimal test-cases are much appreciated!)
1. check out llvm from branches/release_31
2. check out corresponding clang and related subdirs
3. check out iwyu current trunk
What is the expected output? What do you see instead?
should compile and link.
instead, it errors with this:
iwyu.cc: In member function ‘virtual clang::ASTConsumer* include_what_you_use::IwyuAction::CreateASTConsumer(clang::CompilerInstance&,
llvm::StringRef)’:
iwyu.cc:3661:32: error: ‘class clang::Preprocessor’ has no member named ‘addCommentHandler’
What version of the product are you using? On what operating system?
latest trunk as of this writing, compiling on SL/RHEL 6.1.x. clang/llvm compiles, installs,
and passes make check.
Reported by plaztiksyke on 2012-07-11 16:38:53
该提问来源于开源项目:include-what-you-use/include-what-you-use