Custom diag client for clang that verifies that each implicitly build module is a system module.
If not, it will let the current rootcling invocation fail with an error. All other diags beside module build remarks will be forwarded to the passed child diag client.
The reason why we need this is that if we built implicitly a C++ module that belongs to a ROOT dictionary, then we will miss information generated by rootcling in this file (e.g. the source code comments to annotation attributes transformation will be missing in the module file).
Definition at line 3477 of file rootcling_impl.cxx.
Public Member Functions | |
| CheckModuleBuildClient (clang::DiagnosticConsumer *Child, bool OwnsChild, clang::ModuleMap &Map) | |
| ~CheckModuleBuildClient () override | |
| void | BeginSourceFile (const clang::LangOptions &LangOpts, const clang::Preprocessor *PP) override |
| void | clear () override |
| void | EndSourceFile () override |
| void | finish () override |
| void | HandleDiagnostic (clang::DiagnosticsEngine::Level DiagLevel, const clang::Diagnostic &Info) override |
| bool | IncludeInDiagnosticCounts () const override |
Private Attributes | |
| clang::DiagnosticConsumer * | fChild |
| clang::ModuleMap & | fMap |
| bool | fOwnsChild |
|
inline |
Definition at line 3483 of file rootcling_impl.cxx.
|
inlineoverride |
Definition at line 3488 of file rootcling_impl.cxx.
|
inlineoverride |
Definition at line 3562 of file rootcling_impl.cxx.
|
inlineoverride |
Definition at line 3556 of file rootcling_impl.cxx.
|
inlineoverride |
Definition at line 3568 of file rootcling_impl.cxx.
|
inlineoverride |
Definition at line 3574 of file rootcling_impl.cxx.
|
inlineoverride |
Definition at line 3494 of file rootcling_impl.cxx.
|
inlineoverride |
Definition at line 3580 of file rootcling_impl.cxx.
|
private |
Definition at line 3478 of file rootcling_impl.cxx.
|
private |
Definition at line 3480 of file rootcling_impl.cxx.
|
private |
Definition at line 3479 of file rootcling_impl.cxx.