I got next errors when built Clazy with trunck LLVM/Clang. I think will be good idea to run Include What You Use to reduce chance of similar issues in future. Clazy/checkmanager.h:116:41: error: member access into incomplete type 'const clang::PreprocessorOptions' return !ci.getPreprocessorOpts().ImplicitPCHInclude.empty(); ^ tools/clang/include/clang/Frontend/CompilerInvocation.h:35:7: note: forward declaration of 'clang::PreprocessorOptions' class PreprocessorOptions; ^ In file included from /grid/cic/nsd-farm2/data/zelenko/LLVM.svn/Clazy/checkbase.cpp:27: Clazy/checkmanager.h:116:41: error: member access into incomplete type 'const clang::PreprocessorOptions' return !ci.getPreprocessorOpts().ImplicitPCHInclude.empty(); ^ tools/clang/include/clang/Frontend/CompilerInvocation.h:35:7: note: forward declaration of 'clang::PreprocessorOptions' class PreprocessorOptions;
Git commit 67a45cf99a9f84266d4d17f9c2107e0518919b87 by Sergio Martins. Committed on 31/01/2017 at 22:45. Pushed by smartins into branch 'master'. Fix build with clang 4.0 due to missing include M +2 -0 checkmanager.h https://commits.kde.org/clazy/67a45cf99a9f84266d4d17f9c2107e0518919b87
Thanks Eugene
Thank you for quick fix, Sergio!