diff options
Diffstat (limited to 'DocComment.h')
-rw-r--r-- | DocComment.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/DocComment.h b/DocComment.h index 3503abe5..58c8e17a 100644 --- a/DocComment.h +++ b/DocComment.h @@ -21,6 +21,7 @@ #include <hidl-util/Formatter.h> #include <string> +#include <vector> #include "Location.h" @@ -33,12 +34,12 @@ struct DocComment { void emit(Formatter& out) const; - const std::string& string() const { return mComment; } + const std::vector<std::string>& lines() const { return mLines; } const Location& location() const { return mLocation; } private: - std::string mComment; + std::vector<std::string> mLines; Location mLocation; }; |