summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'include/vintf/parse_string.h')
-rw-r--r--include/vintf/parse_string.h10
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);
39std::ostream &operator<<(std::ostream &os, const ManifestHal &hal); 39std::ostream &operator<<(std::ostream &os, const ManifestHal &hal);
40std::ostream &operator<<(std::ostream &os, const Version &ver); 40std::ostream &operator<<(std::ostream &os, const Version &ver);
41std::ostream &operator<<(std::ostream &os, const VersionRange &vr); 41std::ostream &operator<<(std::ostream &os, const VersionRange &vr);
42
43#pragma clang diagnostic push
44#pragma clang diagnostic ignored "-Wdeprecated-declarations"
42std::ostream &operator<<(std::ostream &os, const VndkVersionRange &vr); 45std::ostream &operator<<(std::ostream &os, const VndkVersionRange &vr);
46#pragma clang diagnostic pop
47
43std::ostream &operator<<(std::ostream &os, const KernelVersion &ver); 48std::ostream &operator<<(std::ostream &os, const KernelVersion &ver);
44std::ostream &operator<<(std::ostream &os, const TransportArch &ta); 49std::ostream &operator<<(std::ostream &os, const TransportArch &ta);
45std::ostream &operator<<(std::ostream &os, const ManifestHal &hal); 50std::ostream &operator<<(std::ostream &os, const ManifestHal &hal);
@@ -65,7 +70,12 @@ bool parse(const std::string& s, Level* l);
65bool parse(const std::string &s, KernelSepolicyVersion *ksv); 70bool parse(const std::string &s, KernelSepolicyVersion *ksv);
66bool parse(const std::string &s, Version *ver); 71bool parse(const std::string &s, Version *ver);
67bool parse(const std::string &s, VersionRange *vr); 72bool parse(const std::string &s, VersionRange *vr);
73
74#pragma clang diagnostic push
75#pragma clang diagnostic ignored "-Wdeprecated-declarations"
68bool parse(const std::string &s, VndkVersionRange *vr); 76bool parse(const std::string &s, VndkVersionRange *vr);
77#pragma clang diagnostic pop
78
69bool parse(const std::string &s, KernelVersion *ver); 79bool 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.
71bool parse(const std::string &s, TransportArch *ta); 81bool parse(const std::string &s, TransportArch *ta);