diff options
Diffstat (limited to 'include/vintf/parse_string.h')
-rw-r--r-- | include/vintf/parse_string.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/vintf/parse_string.h b/include/vintf/parse_string.h index 00844d7..0bb554a 100644 --- a/include/vintf/parse_string.h +++ b/include/vintf/parse_string.h | |||
@@ -39,7 +39,12 @@ std::ostream& operator<<(std::ostream& os, Level l); | |||
39 | std::ostream &operator<<(std::ostream &os, const ManifestHal &hal); | 39 | std::ostream &operator<<(std::ostream &os, const ManifestHal &hal); |
40 | std::ostream &operator<<(std::ostream &os, const Version &ver); | 40 | std::ostream &operator<<(std::ostream &os, const Version &ver); |
41 | std::ostream &operator<<(std::ostream &os, const VersionRange &vr); | 41 | std::ostream &operator<<(std::ostream &os, const VersionRange &vr); |
42 | |||
43 | #pragma clang diagnostic push | ||
44 | #pragma clang diagnostic ignored "-Wdeprecated-declarations" | ||
42 | std::ostream &operator<<(std::ostream &os, const VndkVersionRange &vr); | 45 | std::ostream &operator<<(std::ostream &os, const VndkVersionRange &vr); |
46 | #pragma clang diagnostic pop | ||
47 | |||
43 | std::ostream &operator<<(std::ostream &os, const KernelVersion &ver); | 48 | std::ostream &operator<<(std::ostream &os, const KernelVersion &ver); |
44 | std::ostream &operator<<(std::ostream &os, const TransportArch &ta); | 49 | std::ostream &operator<<(std::ostream &os, const TransportArch &ta); |
45 | std::ostream &operator<<(std::ostream &os, const ManifestHal &hal); | 50 | std::ostream &operator<<(std::ostream &os, const ManifestHal &hal); |
@@ -65,7 +70,12 @@ bool parse(const std::string& s, Level* l); | |||
65 | bool parse(const std::string &s, KernelSepolicyVersion *ksv); | 70 | bool parse(const std::string &s, KernelSepolicyVersion *ksv); |
66 | bool parse(const std::string &s, Version *ver); | 71 | bool parse(const std::string &s, Version *ver); |
67 | bool parse(const std::string &s, VersionRange *vr); | 72 | bool parse(const std::string &s, VersionRange *vr); |
73 | |||
74 | #pragma clang diagnostic push | ||
75 | #pragma clang diagnostic ignored "-Wdeprecated-declarations" | ||
68 | bool parse(const std::string &s, VndkVersionRange *vr); | 76 | bool parse(const std::string &s, VndkVersionRange *vr); |
77 | #pragma clang diagnostic pop | ||
78 | |||
69 | bool parse(const std::string &s, KernelVersion *ver); | 79 | bool parse(const std::string &s, KernelVersion *ver); |
70 | // if return true, ta->isValid() must be true. | 80 | // if return true, ta->isValid() must be true. |
71 | bool parse(const std::string &s, TransportArch *ta); | 81 | bool parse(const std::string &s, TransportArch *ta); |