Line | Count | Source |
1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | |
2 | file LICENSE.rst or https://cmake.org/licensing for details. */ | |
3 | #include "cmDiagnosticContext.h" | |
4 | ||
5 | #include <array> | |
6 | ||
7 | #include "cmStateSnapshot.h" | |
8 | ||
9 | void cmDiagnosticContext::RecordDiagnostic(cmDiagnosticCategory category, | |
10 | cmStateSnapshot const& state) | |
11 | 0 | { |
12 | 0 | this->DiagnosticState[category] = state.GetDiagnostic(category); |
13 | 0 | this->HasState = true; |
14 | 0 | } |