The intent is to add the build file for clang/lib/StaticAnalyzer/Frontend; everything else is pulled in by that.
It's close to 200 TUs; I might want to default to clang_enable_static_analyzer=false when I add the clang/lib/FrontendTool build file.
Differential D55978
[gn build] Add build files for clang/lib/{ASTMatchers,CrossTU}, clang/lib/StaticAnalyzer/{Checkers,Core,Frontend} thakis on Dec 20 2018, 6:19 PM. Authored by
Details The intent is to add the build file for clang/lib/StaticAnalyzer/Frontend; everything else is pulled in by that. It's close to 200 TUs; I might want to default to clang_enable_static_analyzer=false when I add the clang/lib/FrontendTool build file.
Diff Detail
Event TimelineComment Actions Looks reasonable, what about linking with Z3? Or is your goal just to get a minimally working functionality? Comment Actions
I don't think that quite makes sense, since by default clang does have the analyzer built in. Comment Actions Thanks for taking a look! Two points about this:
In any case, at the moment clang_enable_static_analyzer does default to true in the GN build. If I'm getting serious about changing that default, I'll cc you on that patch :-) Comment Actions Sorry, forgot to reply to this. I don't use this, so I feel someone who does want to use Z3 + GN should probably add support for this. |